PDA

View Full Version : How can I make grid have elastic columns?



pbb72
28 Jun 2007, 6:22 AM
How can I make a grid with elastic columns, that is where the column width changes when the overall grid width changes?
The same way as we are used to from HTML, so to say.
I have found some talk about this in the forum, either I don't understand the explainations, or they are for old versions of the code...

Or am I asking for something very "bad" now?

Thanks, Peter

tryanDLS
28 Jun 2007, 7:25 AM
The same config option applies http://extjs.com/deploy/ext-1.1-beta1/docs/output/Ext.grid.Grid.html#config-autoSizeColumns. There are performance implications to using this - I suggest you search on grid performance to get more info.