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

asked 09 Oct, 02:23

SKR's gravatar image

SKR
1168
accept rate: 8%

We are investigating your requirement.

(09 Oct, 02:52) FOEX-SUPPORT FOEX-SUPPORT's gravatar image

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.

link

answered 09 Oct, 04:14

FOEX-SUPPORT's gravatar image

FOEX-SUPPORT
4.6k15
accept rate: 32%

Working as expected..

(09 Oct, 07:49) SKR SKR's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×552
×15

Asked: 09 Oct, 02:23

Seen: 45 times

Last updated: 09 Oct, 07:49

FOEX Links