Introduction
The purpose of this post to describe the steps required to highlight Tabular Form Rows on addition from Pop-up.
Steps to follow
Step 1: Paste the following code in the dynamic action:
On Refresh of region
Execute java script 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 an 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”);
Call To Action:
For Oracle apex development and customization please do contact our company website https://doyensys.com/
Conclusion
Using above steps we can highlight tabular form rows on addition from pop-up.