Do you want to get the Interactive Grid column value using JavaScript in Oracle Apex? If yes, then please check the below example:
Get IG Column Value Using JavaScript in Oracle Apex
In the following example, it will get the Interactive Grid column (EMPLOYEE_NAME
) value for the currently selected row. Below are the steps:
- Create a dynamic action on the interactive grid and select the event Selection Change [Interactive Grid].
- Then create a True action to execute JavaScript code and add the below code in it:
var v_empName; v_empName = this.data.model.getValue(this.data.selectedRecords[0], "EMPLOYEE_NAME"); apex.message.alert(v_empName);
Related Tutorials:
- Oracle Apex - Get Item Value Using JavaScript
- How to get the value of a particular column of the current row in IG?
Leave a comment