How to Highlight Tabular Form Rows on addition from Pop-up

Description:

This is often used to show additional information about a row, particularly when you wish to convey more information about a row than there is space for in the table highlight with pap-up.

  1. Paste the following code in the dynamic action:

On Refresh of region

Execute javascript code:

/*Reset the background colors of all cells*/

$(‘.t-Report-cell’).css(“background-color”, “white”);

/*Get Selected Value from the select list / on addition of rows from pop-up set the values in a page item as comma-separated*/

var a = $v(‘P86_SEL_MAST_ITEMS’);

a = a.replace(/(^,)|(,$)/g, “”);

//alert (a);

$(“input[name=’f02′]”).filter(function(){return a.split(‘,’).indexOf(this.value) > -1}).closest(“tr”).children(“td”).css(“background-color”, “yellow”);

$(“input[name=’f02′]”).filter(function(){return this.value==temp[j]}).closest(“tr”).children(“td”).css(“background-color”, “yellow”);

Summary:

This information shown that highlight tabular form rows on additional pop-up.

Queries?

Do drop a note by writing us at contact@staging.doyensys.com or use the comment section below to ask your questions.

 

 

Recent Posts