Highlighting the lines of State based on the results of the report
Hello! I think it's an easy question, but I have not found an answer for her through the forums looking. Is there a way to highlight or change the colors of some dependent lines on the result set data? I'm trying to display transaction data of the customer for call center agents and highlight some rows based on the values in the results...Thank you very much!
You can view a customized report (column model) model - they give you 4 places for the conditions. Here is an example:
Column Template 1: #COLUMN_VALUE#
Column Template 1 Expression: '#1#' like '%Total%'
#1 # being the first column in your results. This isn't bad if you only need 4 conditions and know the placement of your fields - you just configured different look and feels in your CSS and change the class according to the criteria.
Here's another way:
http://Apex.Oracle.com/pls/OTN/f?p=11933:7
Hope that helps...
Tags: Database
Similar Questions
-
How to highlight a line in IR based on the user name
Hello
What is the best way to highlight a line in an IR, based on the user name. IE APP_USER.
Suppose that if an APP_USER connect to the application, the line corresponding to the APP_USER international registration should only be highlighted.
(The button change is not visible in IR)Hello
Value of APP_USER is uppercase. Your name column values are lowercase.
Example of code I have after string comparison is case-sensitive.I don't have to change your action Dynamics example JavaScript to convert the value of the cell uppercase
this.affectedElements.find('table.apexir_WORKSHEET_DATA td[headers="NAME"]').each(function(i){ var lThis=$(this); if(lThis.text().toUpperCase()=="&APP_USER."){ lThis.parent().children().css({"background-color":"#55A955"}); } });
Now, it should work
Kind regards
Jari
-----
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
Highlight the line in the standard State is based on the value in the column...
I'm trying to highlight the lines of a standard report based on the value of the TICKET_TYPE column.
I followed the post:
but the difficulty. I have the following error:
ORA-06550: line 1, column 34: PLS-00201: identifier 'SHRIMP' must be declared ORA-06550: line 1, column 7: PL/SQL: statement ignored
ERR-1025 expression PLSQL treatment error. SHRIMP = "SHRIMP".
My report query is:
Select T.TRIP_ID,
T.TRIP_ID trip_show,
T.TRIP_ID trip_select,
T.DAYS_AT_SEA,
T.NBR_OF_CREW,
T.TRIP_START_DATE,
T.VESSEL_ID,
o.ticket_type ticket_type
TRAVEL t, o one_ticket_type
where t.dea_permit_id =: G_DEA_PERMIT_ID and t.trip_id = o.trip_id
I created a new template called a ticket-enhancement.
line 1 = tempate < td #ALIGNMENT headers # = "" #COLUMN_HEADER # "class ="t14data"style =" background: red "> #COLUMN_VALUE # < table >"
model condition rank 1 = use based on the expression of pl/sql
template expression rank 1 = #TICKET_TYPE # = "SHRIMP" (* I also tried without the quote)
any thoughts? Thank you!!
Edited by: KEH813 may 25, 2010 11:10I'm not sure of the JavaScript. Whenever you sort the report, coloring disappears and you can send the page again.
PS Don't forget to mark the answers as Correct or useful.
Best regards
Mathieu Gosselin -
How to highlight the line of the ADF table based on the value of the column?
Hi all
I use jdev 10.1.3.4. I want to highlight a table row or a cell based on the value of the column.
Lets say, I have a table emp with column empid, empname and sal. I want to emphasize the lines that have sal = 10000.
How can I achieve this? Please help me with this.
Thank you
AbhijitHello
You want to highlight the lines? or set a different color for the lines? If it's the second, you can set the inline style based on the salary. (+ Edit: well, never mind, both are same :)) +)
Something like
If you want the entire line to be a different color, you have 2 options.
1. define the same style inline for all columns in the table (good if you want to do only for a single table).
2. create a style class and apply the styleclass based on the value of sal (preferably if you want the same behavior in all of your application).Arun-
Published by: joel Ramamoorthy, October 23, 2009 16:56
-
Highlight a line in the classic report based on condition
HI all the gurus
Apex 4.1.1 using oracle 11g linux oc4j
I want to emphasize a line where #column_value #= 'Y' to keep gray others like normal report parameters.
I have a simple sql query
SELECT PK_ID, FIRST_NAME, LAST_NAME, INITIAL_REG_DATE, MAIL_DATE, BEGIN_DATE, END_DATE, END_DATE-BEGIN_DATE as "#days", BEGIN_STATUS, END_STATUS, COMMENTS, DELETE_FLAG, case when DELETE_FLAG='Y' then 'GREY' else '#f0f0f0' end DELETE_FLAG , INITIAL_REG_DATE+(END_DATE-BEGIN_DATE) "New Reg end date" FROM SOR_TRACKING_DEL where pk2_id =:P216_Detail order by mail_Date desc
I created a dynamic action
who will be the tree on load, LINK on this classic report
$("input[name=f29]").each (function () {}
var lThis = $(this);
{if (lThis.is("Y"))}
lThis.parents("tr:eq(0)").children("td").css({"background-color":"GREY"});)
} else {}
lThis.parents("tr:eq(0)").children("td").css({"background-color":"#f0f0f0"});)
}
});
But it doesn't change color as expected...
Kindly help me!
Thank you
Scott and Tom
Thank you guys for looking into this.
Pls ignore my incorrect explanation and my inexperience with jquery.
I read some blog and trying to do the same on the classic report, but all blogs, I found to this day called interactive report or tabular report, that none of them mentions classic report.
I assume that using the classic report will not be a good idea to start with. :/
I don't know if this is the proper syntax and logic to highlight the line
$(
function
(){
var
DELETE_FLAG = $(this);
If DELETE_FLAG.is("Y"))
{
DELETE_FLAG.parents("tr
").children("td").css({"background-color":"GREY"});).}});
I also created app here
http://Apex.Oracle.com/pls/Apex/f?p=35155
get out of the workspace
Tester/testing
request 35155
Thanks again.
-
Highlight the line on slot form of table
I would like to be able to highlight a row of data on a form in a table based on a column of some data. I found many here messages that reference standard reports, but is there a way to highlight an entire line of data based on some criteria of tabular form?
Thank you!A proposal, you have removed the standard formatting for other lines by crushing. On the top of my head, you should leave the standard formatting in first position and add a second condition for your highlighted line.
Gus...
Please mark this and any other position as useful or correct
;-) -
Highlight the table line number
I am using this code to highlight the row in my table but my table can vary in size, but a generally more than 1000 lines and code REALLY slows down the rest of my application. I was wondering is there a more efficient way to do the same task?
PauldePaor wrote:
I am using this code to highlight the row in my table but my table can vary in size, but a generally more than 1000 lines and code REALLY slows down the rest of my application. I was wondering is there a more efficient way to do the same task?
I figured that out I made a mistake of programmtic. Rather than use the Columns property node number, I used size of array to the control of the loop that considerably slowed down the action of the function
-
It is possible to activate the option "Highlight the whole line" on and off during execution in a multicolumn listbox?
I know that the option is available in the right click of the FP control menu, but I was wondering if this can also be done programmatically.
Thank you
Kas
If you have installed the script of LabVIEW, you will have the following property:
Tone
-
want to turn off highlight the particular list field line, when you click
Hello
I have a list of line 3 display, on which I have 2 lines that are highlighted with little color.
When I click on the particular line, I want to turn off the highlight on this line.
How can I remove the list and add to the list to turn off highlight the special line, which is which is clicked by the user.
Concerning
Antoine Singh
Hello
I was able to do
I have again to call the constructor of the list view by changing the value in the table highlight
Concerning
Antoine Singh
-
How to highlight the selected line in an interactive report in apex5?
Hello
I want to emphasize the selected line in the report by changing the background color of the line. Basically, I want to do this. I really want to do is, select a row in the report and according to the selected line, I want to retrieve other data to another interactive report on the same page. So, how can I do this?
Hi geslin,.
Garza says:
But here shows a link to another page or something like that. But I don't need that. I just want to show when the user selects a specific row by clicking on this line, and it should show that it has been selected by changing the color of the line and after having extracted a few hidden field and according to those column data display data on another report on the same page.
Check your Application-> Page 2 30870. I've set up a dynamic action to reach the line highlighted when selected.
Here are the steps to achieve the highlighted line:
- Changed the definition of class employee culminating point to CSS-> section of the line on the page:
.highlight-employee { background-color: blue !important; color: white !important; }
- Commented the code written in JavaScript-> Execute JS when the section of the page to load the page.
- Edited the ROWID of your interactive report column and set the following properties for 'column link:
Text link: #ROWID #.
Link attributes: id = "" #ROWID # "class ="monlien""
Target: URL
URL: javascript:void (0);
- Dynamic action created with the following properties:
Name: highlight_selected_row
Event: click on
Selection type: jQuery Selector
jQuery Selector: a.mylink
Action: Run the JavaScript Code
Fire on loading the Page: No.
Code:
var row_id = this.triggeringElement.id; $('#P2_NEW').val(row_id); $('#'+row_id).parent().closest('tr').find('td').addClass('highlight-employee');
Scope of the event: Dynamics
Kind regards
Kiran
-
I'm trying to sign several documents and I have my saved signature under "fill & sign" the organization that generated the forms highlighted the signature lines and when I try to put my signature, it is pushed outside the signature.
Hi katepell,
You can simply drag the signature to the desired place by holding it with the mouse.
Thank you
Abhishek
-
Highlight the line does not work after dynamic refresh
Hello
Request Express 4.2.1.00.08
Hoping someone can help with this. I have a report (list of loans for a person) who gets refreshed dynamically when the account number is changed. The loan id column is a link when you click fires a dynamic action that uses JavaScript to highlight the current line
$('.highlight-row').removeClass ('point culminating-row');
$(this.triggeringElement) .parent () .parent () .children () .addClass ('point culminating-row');
It works fine first time around, but if the loans area is updated the javascript does not work anymore and the current line is not highlighted.
Thank you
Neal
Hello
What is the scope of the event?
It must be dynamic.
You can create a new DA the event which is:
After Refresh.
Selection type: report
-
Apex 4.2Theme 21
I am able to highlight current form fields using get focus and lose focus of dynamic actions.
How to highlight the current line in the form of an updated report.
I tried to use DA with
Picker JQuery tr [headers = 'TAX'] (column in my report)
Run Javascript
$x_RowHighlight (this.triggeringElement, 'yellow');
Any help appreciated
Gus
Gusford Hello!
Try to update your JQuery selector to what follows, with a trigger event in the DA 'click ':
table. Report-standard tr
JR.
-
Highlight the line in the classic report
Hi all. Is it possible to highlight only one row after the click of the mouse in a classic report? Perhaps with the help of JavaScript (or jQuery). Version of the APEX - 4.1.x
view Denes Kubicek ApEx BLOG: line highlight selected to highlight a current row of the report
See also Notes on Oracle: APEX: select a record in the report - with dynamic Action
Can solve your problem.
Leave.
-
I'm having a problem suddenly after upgrading to Dreamweaver CC 2014.1.1, this morning. Now when I try to choose a single line of code, Dreamweaver highlights the random code blocks. I tried different mouse, wired and wireless, thought that might be the cause, but not luck.
Is there a preference I selected by mistake I don't know?
Thanks for any help.
The problem continued in Live and modes of creation.
I fixed it by reinstalling Dreamweaver. Works like a charm. Fortunately, I had my preferences saved, so he did not so much time to get back to work because I thought it might.
Thanks for your help!
Maybe you are looking for
-
I tried to crop a photo to Photostream in iPhoto and now my iPhoto crashes. How can I fix iPhoto? I bought my IMAC in 2009.
-
Screen error bedxc05doo82, engine of the pump at a standstill. Press the icon (inability to recognize or describe). How to fix it, or can I still fix this?
-
NO SIGNAL alert QUICK / BLACK MONITOR Acer S242HL monitor
Acer S242HL monitor will light up and briefly displays "No Signal" before going black.I plugged on the Dell PC (Windows 7 HP) with the Blue D - SUB cable, and both fittings are tight.The new Acer monitor worked (connected to the computer of the store
-
Need to reformat Vista but don't have the disc
I have windows vista Home premium 64-bit and I need to format, but I don't have the cd I don't have product key what can I please?
-
Every day between someone with a different hotmail account contact me saying that I lose my access to msn if I do not respect and send them a list of personal information, I'm not sure that this is not the work of a pirate! So I'm not comply. Should