1. #1
    Ext JS Premium Member
    Join Date
    Jan 2009
    Posts
    33
    Vote Rating
    0
    badallen is on a distinguished road

      0  

    Default Locked Column Zero Width Issue

    Locked Column Zero Width Issue


    Hi,

    We have a locked column with 0px width ( { locked : true, width: 0}) which was working correctly in RC1. However, after we upgraded to RC2, we see the following:
    Width0.png

    notice the phantom column width between "Budget" and the "Test User" column.

    However if I update the config width to 1 ( { locked : true, width: 1}), I then get this: Width1.png

    which is a lot better but still got that annoy 1 pixel border between Budget and Test User.

    Any idea on why the phantom width is there?

    Thanks!
    Attached Images

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,624
    Vote Rating
    434
    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


    Why is the column at zero? Why not just hide it then?
    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.

  3. #3
    Ext JS Premium Member
    Join Date
    Jan 2009
    Posts
    33
    Vote Rating
    0
    badallen is on a distinguished road

      0  

    Default


    Quote Originally Posted by mitchellsimoens View Post
    Why is the column at zero? Why not just hide it then?
    we could. however, width is actually assigned to a variable which can be any integer 0 or above.