PDA

View Full Version : ExtJS4 grid autoresize columns according the content



psewt
4 Feb 2013, 7:28 AM
Hi,
How can I in the ExtJS4 Grid autoresize the width of the columns according the content size? The width of the column should be the width of the longest content in that column just like it is in an HTML table. Basically I want that HTML table auto-width behavior.
Thanks

mitchellsimoens
6 Feb 2013, 3:01 PM
This is not supported out of the box.

sword-it
6 Feb 2013, 11:35 PM
Hi
have a look at the following link may be it would be helpful for you
http://stackoverflow.com/questions/5426380/extjs-set-grid-columns-width-wide-enough-to-display-text-in-it