I am using Oracle APEX 19.2 version. In that, I am facing a Javascript issue with Interactive Grid data retrieval.
In my use-case, I have an interactive grid with lazy loading property enabled in a page. On this, I need to get first row data when the page is getting loaded. So I have used the following JS code on Page Load Event.
var myIG = apex.region("emp").widget().interactiveGrid('getViews','grid');
apex.item("P1_DUMMY").setValue( myIG.model.getRecordValue(1,"username") );
The above code works fine if the interactive grid is not enabled with lazy loading property.
If Lazy Loading property is enabled then I am getting JS error saying that "Uncaught TypeError: Cannot read property '0' of null".
Is this bug in 19.2? or Is there any other way I can retrieve the grid data?
Kindly share your thoughts on this?
Regards,
Thirumalai V