1. #1
    Sencha User
    Join Date
    Nov 2007
    Location
    France
    Posts
    124
    Vote Rating
    0
    Answers
    1
    khatuido is on a distinguished road

      0  

    Default Answered: Can we get a grid which got his column are autoresizing with their content?

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


    Hello,

    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 ?


    Thanks

  2. i had gotten, what i wanted with this http://www.sencha.com/forum/showthread.php?144000

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    34,119
    Vote Rating
    453
    Answers
    3160
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    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 Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User
    Join Date
    Nov 2007
    Location
    France
    Posts
    124
    Vote Rating
    0
    Answers
    1
    khatuido is on a distinguished road

      0  

    Default


    i had gotten, what i wanted with this http://www.sencha.com/forum/showthread.php?144000

Tags for this Thread