Check all checkbox in gridpanel in extjs -


i check of checkbox made ext.grid.checkcolumn in gridpanel, may know if there easy way this? have try add class checkbox(ext.grid.checkcolumn) seem not work.

thanks much!

if you're rendering store field checbox column, have set field true records in store.

store.each(function(rec){ rec.set('field', true) }) 

never try change grid cell's value directly, change via store's corresponding record.

update: if have many records, use this:

store.suspendevents(); // avoid view update after each row store.each(function(rec){ rec.set('field', true) }) store.resumeevents(); grid.getview().refresh(); 

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -