1. #1
    Sencha User dekely's Avatar
    Join Date
    Aug 2008
    Posts
    215
    Vote Rating
    3
    dekely is on a distinguished road

      0  

    Exclamation Backwards compatibility (GridPanel)?

    Backwards compatibility (GridPanel)?


    Hi,

    I've upgraded from 2.1 to 3.0 and I see that the was removed from
    GridPanel.

    where exactly is the backwards compatibility? Now I need to change many files...

    Dekel
    Best regards,
    Dekel.y
    http://www.puzzlescramble.com

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    the what was removed from GridPanel?

  3. #3
    Sencha User dekely's Avatar
    Join Date
    Aug 2008
    Posts
    215
    Vote Rating
    3
    dekely is on a distinguished road

      0  

    Default


    Sorry,

    The getSelections method.
    It loks like it can be reach only via RowSelectionModel

    Thanks
    Dekel
    Best regards,
    Dekel.y
    http://www.puzzlescramble.com

  4. #4
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    It was removed in the 2.3 version.

  5. #5
    Sencha User dekely's Avatar
    Join Date
    Aug 2008
    Posts
    215
    Vote Rating
    3
    dekely is on a distinguished road

      0  

    Default


    Thanks for your reply.
    Best regards,
    Dekel.y
    http://www.puzzlescramble.com

  6. #6
    Sencha User dekely's Avatar
    Join Date
    Aug 2008
    Posts
    215
    Vote Rating
    3
    dekely is on a distinguished road

      0  

    Default Column width problems after upgrading

    Column width problems after upgrading


    Hi,
    The following code use to run on 2.1
    var
    supersGrid = new Ext.grid.GridPanel({
    id: 'supersGrid',
    storeupervisorsStore,
    columns: [
    {width: '80%', renderer: superNameRender, dataIndex: 'name'},
    {width: '10%', renderer: statusRender, dataIndex: 'status'}
    ],
    autoHeight:true,
    iconCls: 'icon-grid'
    });

    but now I get exception about illegal argument.
    when I remove the 80% it works ok.

    Can't we use percentage for column width?
    I do not know the width of my grid but I want to set width relativly.

    thanks

    Best regards,
    Dekel.y
    http://www.puzzlescramble.com

  7. #7
    Sencha User dekely's Avatar
    Join Date
    Aug 2008
    Posts
    215
    Vote Rating
    3
    dekely is on a distinguished road

      0  

    Default


    Found a solution.
    I changed it to .8 instead of 80% and it works.
    Do I need to change all my code or is there a solution ?

    thanks
    Best regards,
    Dekel.y
    http://www.puzzlescramble.com

  8. #8
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    80% was always wrong. Widths are numbers.

Thread Participants: 1