Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    37
    Vote Rating
    3
    DieInHeaven is on a distinguished road

      1  

    Default Touch grid column width

    I am using touch grid component but width of column header are not increasing
    when column data increases.
    thanks

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,087
    Vote Rating
    136
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      1  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha User
    Join Date
    Jun 2013
    Posts
    37
    Vote Rating
    3
    DieInHeaven is on a distinguished road

      1  

    Default

    OK Man ,
    do you have any fix for this??
    i really need this.

  4. #4
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    46
    Vote Rating
    5
    andrewx is on a distinguished road

      0  

    Default

    Quote Originally Posted by fmoseley View Post
    Thanks for the report! I have opened a bug in our bug tracker.
    This is a showstopper for me too - is there a workaround yet?

  5. #5
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    46
    Vote Rating
    5
    andrewx is on a distinguished road

      0  

    Default

    Anything on this? The grid is basically useless if you have to define explicit widths.

  6. #6
    Sencha User
    Join Date
    Jun 2013
    Posts
    37
    Vote Rating
    3
    DieInHeaven is on a distinguished road

      0  

    Default

    Please fix this or provide alternative way for this.
    otherwise i have to change my whole project.

  7. #7
    Sencha Premium Member austin1030's Avatar
    Join Date
    Feb 2008
    Location
    Hanover, Maryland
    Posts
    103
    Vote Rating
    1
    austin1030 is on a distinguished road

      0  

    Default

    For now, I have setup width like this

    each column...
    Code:
    width: (Ext.Viewport.getOrientation() === 'landscape')? (Ext.Viewport.getWindowWidth()*.2) : 120
    And probably need to a controller set the width of column based on orientation.

    Austin

  8. #8
    Sencha User
    Join Date
    Jun 2013
    Posts
    37
    Vote Rating
    3
    DieInHeaven is on a distinguished road

      0  

    Default

    I fix this by setting static width to all columns and for last one i use
    here 195 is total of all column width. Hope this will help.
    HTML Code:
    [CODE]width: (window.innerWidth > 0) ? window.innerWidth - 195[/CODE] : screen.width - 195