PDA

View Full Version : Please help!!! Grid panel resize not working while window resizes - ExtJs4.1



b.rameesh
24 Jul 2012, 2:33 AM
Grid panel resize not working while window resizes - ExtJs4.1. Please provide some solutions to get this done.

scottmartin
31 Jul 2012, 2:19 PM
What is the layout for your window?



Ext.create('Ext.window.Window', {
title: 'Hello',
height: 200,
width: 400,
layout: 'fit',
items: {
// empty grid in just to illustrate fit layout
xtype: 'grid',
border: false,
// One header just for show. There's no data,
columns: [{header: 'World'}],
// A dummy empty data store
store: Ext.create('Ext.data.ArrayStore', {})
}
}).show();


Scott.