View Full Version : Can we get a grid which got his column are autoresizing with their content?

21 Jan 2013, 8:47 AM

I see with grid, we can do two setting.

Without forcefit, we need put a width on each column, then if the global size of each column is over than the grid width, we got a scrollbar, but if the column width sum is less than the grid width, we lost space.

So i tried put forcefit, this can allow to remove the bottom scrollbar, but in my case too many field are truncate.

So i was wondering how to get a grid which adapt like a classic table. Depends on his column content. Is it possible in extjs?

Or is it possible in extjs to get a grid with a bottom scrollbar which doesn't truncate any column and autowidth each column with his max content for each column ?


23 Jan 2013, 10:38 AM
this isn't currently possible. You can easily get the height to be variable so you can wrap the cells.

28 Jan 2013, 12:34 AM
i had gotten, what i wanted with this http://www.sencha.com/forum/showthread.php?144000