Apr 22, 2015, 9:55 PM
[CLOSED] GridPanel, CheckboxSelectionModel SelectedRecord
In my GridPanel, I'm using CheckboxSelectionModel with Simple Mode. I'm using SelectionChange Listener to load details of currently selected record.
This works when using Single select mode - but I want this with Simple Mode.
The problem is it always shows the first selected record due to the code below:
Thanks
This works when using Single select mode - but I want this with Simple Mode.
The problem is it always shows the first selected record due to the code below:
<SelectionChange Handler="if(selected[0]) {
App.ImgDetailPanel.loadRecord(selected[0]);
}" />
Instead of using selected[0], how can I pass selected[SELECTEDINDEX] record.Thanks
Last edited by Daniil; Apr 28, 2015 at 9:34 AM.
Reason: Please use [CODE] tags, [CLOSED]