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

c++ - How to modify context menu of internet explorer using IDocHostUIHandler::ShowContextMenu? -

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

c# - Getting "Internal .Net Framework Data Provider error 30" error when column has NULL value -