Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    27
    Vote Rating
    0
    Diavololt is on a distinguished road

      0  

    Default ext js 4.1.1 ga - Problems with Grid forcefit=true attribute

    ext js 4.1.1 ga - Problems with Grid forcefit=true attribute


    when " forcefit=true" option on grid is set - grid must re size columns to fit on whole grid width. But if you resize coulmns -you will se that heder column reseize, but all other columns - not.

    This is my iplementation on
    " forcefit=true"

    this.on('boxready',this.boxready);

    .....

    boxready:function(grid,width,height){
    var columns = grid.getView().getHeaderCt().getGridColumns(),
    count = columns.length,
    column,
    columnsWidth = 0,
    prop = 0;
    for (var index=0;index<count;index++){
    column = columns[index];
    columnsWidth = columnsWidth + (column.hidden ? 0 : column.width);
    }
    prop = (width-20)/columnsWidth;
    for (var index=0;index<count;index++){
    column = columns[index];
    column.width = parseInt(column.width * prop);
    }
    grid.doLayout();
    }

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    750
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Can I get a test case? I just tried a simple example and on Chrome and Firefox it is working as expected with 4.1.1
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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
    Touch Premium Member
    Join Date
    Nov 2009
    Location
    London
    Posts
    49
    Vote Rating
    6
    mattgoldspink is on a distinguished road

      0  

    Default


    I think the OP is having the same issue as what I've reported in this ticket:

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

    In case it was different so as not to hijack this report I've filed it separately

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar