javascript - How to check mark a check column in a grid? -


i have check column on grid need programatically check mark.

here how check column scripted:

columns: {     items:[         {             itemid: 'checkcolumn',             xtype: 'selectallcheckcolumn',             cls: 'select-all-check-column',             dataindex: 'checked',             hideable: false         }, 

var grid = ext.componentquery.query('grid[itemid=gridid]')[0]; var view = grid.getview(); var record = view.getrecord({0}); var active = record.get('active'); record.set('active', !active); 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -