Results 1 to 5 of 5

Thread: forceFit is broken for Ext.panel.Table.

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2008
    Posts
    34
    Vote Rating
    0
      0  

    Exclamation forceFit is broken for Ext.panel.Table.

    It's very easy to reproduce, you can use Examples/grid/sliding-pager.html with forceFit set to true.
    You will notice the shift between columns after the size change of any column.

    Is there any workaround?

    Thanks in advance.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,326
    Vote Rating
    1297
      0  

    Default

    This is due to the Company column having flex : 1. Remove the flex : 1 and it works as expected for me.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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 in print!

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

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2008
    Posts
    34
    Vote Rating
    0
      0  

    Default I guess you don't even try.

    Set forceFit to true and you will notice it anyway.

    Code:
    var grid = Ext.widget('gridpanel', {
            title:'Sliding Pager',
            forceFit:true,
            store: store

    2012-08-24_0957.png

  4. #4
    Ext JS Premium Member
    Join Date
    Mar 2008
    Posts
    34
    Vote Rating
    0
      0  

    Default flex:1

    Quote Originally Posted by mitchellsimoens View Post
    This is due to the Company column having flex : 1. Remove the flex : 1 and it works as expected for me.

    It doesn't help.

  5. #5
    Touch Premium Member
    Join Date
    Nov 2009
    Location
    London
    Posts
    49
    Vote Rating
    6
      0  

    Default

    I know this is closed but for the sake of clarity in case anyone else hits the same issue and stumbles across this report via Google, I've filed a new ticket about this here:

    http://www.sencha.com/forum/showthre...esize&p=944853

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •