PDA

View Full Version : Grid with Checkboxselection Model



senchashiva
13 Feb 2014, 5:48 AM
Hi All,

I have a grid with checkboxselection model and I have two buttons 1. Show All and 2. Show Selections. Could any body let me know how to achieve this?

Thanks for your help in advance.

-Shiva

scottmartin
13 Feb 2014, 10:38 AM
Have a look at the following methods:
http://localhost/extjs4/docs/#!/api/Ext.selection.CheckboxModel-method-selectAll
http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.selection.CheckboxModel-method-getSelection