I am trying to set selected records in apex Interactive Grid following documentation API documentation but it does not work.
I have an array of records and when I am trying to set selected records using
apex.region("grid").widget().interactiveGrid("setSelectedRecords", records);
or
grid.setSelectedRecords(records);
when I check it via console the output is like below but the rows are not selected (selection is empty as I would pass the empty array.
I am using APEX 19.2, anyone faced a similar issue? Any suggestions?
let grid = apex.region("grid").widget().interactiveGrid("getViews").grid.model.getRecord([1])
and set the grid withapex.region("grid").widget().interactiveGrid("setSelectedRecords", [model]);
but it didn't worked. My record is as below: record structure – wiktusser