How to expand row in a grid using rowexpander plugin Extjs 4.1.1
Posted
by
Waseem
on Stack Overflow
See other posts from Stack Overflow
or by Waseem
Published on 2012-09-09T15:35:09Z
Indexed on
2012/09/09
15:38 UTC
Read the original article
Hit count: 488
How to expand row in a grid using rowexpander plugin? I am using the following code in my controller
'editbasicinfotitlegrid gridview' : {
afterrender:this.expandAll
}
expandAll: function(){
var titlesGrid = Ext.getCmp('editBasicInfoTitleGrid');
var expander = titlesGrid.getPlugin('myRowExpander');
console.log(titlesGrid.plugins[0]);
expander.toggleRow(0);
}
But this code gives me the following error
Uncaught TypeError: Cannot call method 'down' of null
© Stack Overflow or respective owner