Hello all,
My APEX-Versions: 21.2.7/22.1
I have a page with an IG based upon a table of two columns, COL1 and COL2. COL1 is set as the primary key item. Item "COL2" is a description and a normal text field. On the IG multiple selection is enabled.
The table contains following values:
COL1 COL2
CO Medium CO
E Medium E
G Medium G
On the page there is a dynamic action (JavaScript Code) on "Page Load" that is used to set a record as selected:
apex.region("IG_MEDIUM_AUSWAHL").widget().interactiveGrid("getViews","grid").setSelectedRecords(["CO"],true,true);
Above does not work. The record with value "CO" does not get selected. If I change the value to "E" instead of "CO" then the record is set to "selected". It seems it only works in my case where COL1 has values with only one character.
I have been looking into this issue already whole day and I have no clue why it goes wrong with only some of the values.