problem for this grid is not set height inside the 'test_ref' new grid look like below
testPanelUi = Ext.extend(Ext.Panel, {
width: 400,
height: 250,
initComponent: function() {
this.items = [
{
xtype: 'grid',
title: 'ccccc',
ref: 'test_ref',
height: 400,
autoHeight: true,
id: 'panel_id',
columns: [
{
xtype: 'gridcolumn',
dataIndex: 'INV_NO',
header: 'INV NO',
sortable: true,
width: 100,
editable: false,
id: 'inv_no_id'
},
{
xtype: 'gridcolumn',
dataIndex: 'INV_DATE',
header: 'Date',
sortable: true,
width: 100,
editable: false,
id: 'date_id'
}
]
}
];
testPanelUi.superclass.initComponent.call(this);
}
});