PDA

View Full Version : Ext Js 4.2 Grid CheckboxModel Selection and Deselection with more rows taking time



sudhanshusekhar27
3 Aug 2015, 7:32 AM
I have a grid using checkboxselection model. When I am trying to use the column header cehckbox to select or delect all the rows in the grid for around 5000 rows. In selecting all operation it is happening pretty first taking around 1 to 1.5s. But when trying to deselect all it is taking lot of time around 10sec or so.
Could anyone help or provide insight to the solution for the problem.
When I have more records sometime the grid is not responding at all while selecting or deselecting a row.

scottmartin
4 Aug 2015, 11:23 AM
You might want to have a look at buffered renderer for you grid with that many records to update at once:
http://docs.sencha.com/extjs/4.2.3/#!/api/Ext.grid.plugin.BufferedRenderer

Scott

sudhanshusekhar27
4 Aug 2015, 8:38 PM
I am already using buffered renderer just that when I am trying to select all and do deselect all using column checkbox it is taking lot of time after the grid is loaded.
Created a fiddle reeference http://jsfiddle.net/sudhanshusekhar27/testupfu/9/

sudhanshusekhar27
11 Aug 2015, 12:30 AM
Created a fiddle reeference http://jsfiddle.net/sudhanshusekhar27/testupfu/9/

(http://jsfiddle.net/sudhanshusekhar27/testupfu/9/)