PDA

View Full Version : Checkbox slection model does not get checked when locking grid column is used



shobhadevraj
8 Jan 2013, 10:27 PM
Hi
I have implemented a grid which has Check box selection model and made the check box column is locked but when i click the checkbox to select all items its not selected so iam manually looping through the store data and checking each item but the performance is low when the records exceed 100 in the grid.Can anyone suggest the best way to do to increase the performance.


Thanks in advance
shobha

mitchellsimoens
10 Jan 2013, 11:14 AM
What Ext JS 4.x.x version are you using?

shobhadevraj
11 Jan 2013, 12:04 AM
I am using Extjs 3.4


Hi
I have implemented a grid which has Check box selection model and made the check box column is locked but when i click the checkbox to select all items its not selected so iam manually looping through the store data and checking each item but the performance is low when the records exceed 100 in the grid.Can anyone suggest the best way to do to increase the performance.


Thanks in advance
shobha

jackchain
13 Aug 2013, 11:55 PM
it's a bug.
Details:http://www.sencha.com/forum/showthread.php?264678
(http://www.sencha.com/forum/showthread.php?264678)
Solved it by this:



var viewTree =this.getModuleGrid().getView();if(viewTree.lockedView){//here is the core viewTree = viewTree.lockedView;}var checkedNodes = viewTree.getChecked();