Apr 03, 2013, 12:47 PM
[CLOSED] GridPanel CheckAll functionality
Hi,
I have used GridPanel with CheckColumn with local PageToolbar with PageSize = 20.
I have binded store with 1200 record in page_load.
Now I want to apply checkall functionality of all store's record. but it checks only 20 records.
Code For Check All functionality is given below and I have wirten in CheckColumn's AfterRenderer.
Shailesh
I have used GridPanel with CheckColumn with local PageToolbar with PageSize = 20.
I have binded store with 1200 record in page_load.
Now I want to apply checkall functionality of all store's record. but it checks only 20 records.
Code For Check All functionality is given below and I have wirten in CheckColumn's AfterRenderer.
this.el.on('click', function (e, el) {for (i = 0; i < #{StoreSearchResult}.getRange().length; i++) {#{StoreSearchResult}.getAt(i).set('chk',#{chkSelectAll}.checked)} #{GridSearchResult}.view.refresh();avgRapRateAll();});
ThanksShailesh
Last edited by Daniil; Apr 09, 2013 at 4:09 AM.
Reason: [CLOSED]