PDA

View Full Version : Grid render problem with IE



Spongerusher
7 Nov 2009, 12:34 PM
Hi,

When i set autoWidth and forceFit to true my grid is displaying the following :

http://www.izipik.com/images/200911/07/gt2seaiqw5wilk61e9-grid.jpg

while it fits perfectly on FF. (it's not about grid cookies)


var grid = new Ext.grid.GridPanel({
id:'gridClient'
,title: 'Double-cliquez sur le client que vous desirez suivre :'
,style: 'margin-top:30px'
,bbar: mybbar
,store: store
,autoHeight : true
,stripeRows: true
,loadMask: true
,viewConfig:{
columnsText : 'Colonnes'
,sortAscText : 'Tri ascendant'
,sortDescText : 'Tri descendant'
,forceFit:true
}
,columns: [
{ id:'id', header: 'id', hidden:true}
,{ header: "Commercial", sortable: true, dataIndex: 'commercial'}
,{ header: "Code", sortable: true, dataIndex: 'code'}
,{ header: "Nom", /*id:'Nom',*/ sortable: true, dataIndex: 'nom'}
,{ header: 'Ville', sortable: true, dataIndex: 'ville'}
,{ header: 'Telephone', sortable: true, dataIndex: 'cli_telephone'}
,{ header: 'Code postal', sortable: true, dataIndex: 'cli_postal_fac'}
]
}

Any help would be appreciated

Jaitsu
8 Nov 2009, 3:29 AM
I can't see your autoWidth property anywhere in that code.

Spongerusher
8 Nov 2009, 4:27 AM
Yeah right but anyway, with or without autoWitdh:true the result is the same in that case.