Main Region

Multiple Selection in Grid
| | 1 answers | 4 views

SK
Posted by SKR
Oct 9th, 2017 at 07:23
0

Dear Foex_support, Grid with multiple selection with checkbox, required to check all when loading a grid. need you assistance to do the same. Thanks

2 Comments

Profile Image
FOEX-SUPPORT on Oct 9th, 2017 at 07:52

We are investigating your requirement.

SK
SKR on Oct 9th, 2017 at 12:49

Working as expected..

Profile Image
Posted by FOEX-SUPPORT
Oct 9th, 2017 at 09:14
0

If you refer to the Ext JS documentation: You can listen to the "After Refresh" event and use some javascript to achieve your requirement:

var grid = Ext.getCmp('CHECKBOX_SEL_GRID');
if (grid && Ext.isFunction(grid.getSelectionModel)) {
   grid.getSelectionModel().selectAll();
}

In v3.1 you will be able to use the "Select Rows" plugin to achieve this.

0 Comments

You must log in or sign up to post questions and answers.