PDA

View Full Version : Ext Js 4 Grid column gets disappered



mandardadpe
5 Oct 2013, 1:31 AM
I am using Ext Js 4.1.0 . When I click on grid row, grid column header and toolbar gets disappeared.I have used "forceFit:true" and "stateful:true" also,but it did not make any difference. I have added grid in center panel of view port with layout:anchor.

I am attaching screen shot for the same. Please reply as early as possible.

Farish
6 Oct 2013, 2:12 AM
it would be difficult to say without looking at your code.

mandardadpe
7 Oct 2013, 2:38 AM
Here is code below..

I have tried using this css also

.x-grid3-header {position: relative;}

.x-grid3-header-offset {width: auto;}


Ext.create('Ext.grid.Panel', {
store : clientGridStore,
id : 'clientDataGrid',
//collapsible : true,
multiSelect : true,
height:600,
//layout:'fit',
autoScroll:true,
hidden:true,
border:false,
//plugins: new Ext.ux.GridTotals(),
features: [{
ftype: 'summary'
}],
columns : [ ],
stateful: true,
//overflow: 'auto',
//title : 'Exception List',
viewConfig : {
stripeRows : true,
enableTextSelection : true
}



});

Farish
7 Oct 2013, 3:28 AM
remove css, id and any other configs which are not essential and see if the problem still happens. if you are using the same id twice, that might also cause strange effects. Also remove stateful: true.