i can't expand my gridpanel which has been collapsed.
when i clicked the collapse toggle Tool, my gridpanel collapsed, howerver, when i clicked it again, it does not work as my expectation. it only remains the line of title.
before
Screenshot-1.jpg
after
Screenshot.jpg
code from document:
Code:
Ext.define('AM.view.user.List', {
extend:'Ext.grid.Panel',
alias:'widget.userlist',
title:'All Users',
collapsible:true,
store:'Users',
initComponent: function(){
this.columns = [
{header:'name', dataIndex:'name', flex:1},
{header:'Email', dataIndex:'email', flex:1}
];
this.callParent(arguments);
}
});