-
Sencha User
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
-
the what was removed from GridPanel?
-
Sencha User
Sorry,
The getSelections method.
It loks like it can be reach only via RowSelectionModel
Thanks
Dekel
-
It was removed in the 2.3 version.
-
Sencha User
-
Sencha User
Column width problems after upgrading
Hi,
The following code use to run on 2.1
var
supersGrid = new Ext.grid.GridPanel({
id: 'supersGrid',
store
upervisorsStore,
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
-
Sencha User
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
-
80% was always wrong. Widths are numbers.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules