Header Ads

Header ADS

How to Data Pass To Item From Interactive Grid Oracle Apex

  

Data Pass to Item From Apex Interactive Grid


Topic Introduction: In Oracle Apex Interactive Grid, Some time we need to get values from Interactive Grid(IG) report on a item field on oracle apex. For this type of work we can use this technic to send data on a Item Field from a Interactive Grid Report.


1. Create a Dynamic Action Under the Interactive Grid Region

i. Identification > Name:
ii. When > Event: Selection Change(Interactive Grid)
iii. When > Selection Type: Region
iv. When > Region: Selection Change(Interactive Grid)


2. Create a Action Under True

i. Identification > Name:
ii. Identification > Action: Execute JavaScript Code
iii. Settings > Code

const model = this.data.model,
records = this.data.selectedRecords;
let values = records.map( r => model.getValue( r, "PROD_ID" ) ); 
apex.item( "P143_ITM_PRODUCT_ID" ).setValue( values[0] );




No comments

Theme images by Deejpilot. Powered by Blogger.