21 Jan 2013 8:47 AM #1
Answered: Can we get a grid which got his column are autoresizing with their content?
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 #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
this isn't currently possible. You can easily get the height to be variable so you can wrap the cells.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
28 Jan 2013 12:34 AM #3