PDA

View Full Version : grid Filter and Column Header selection



biplab.dutta
15 Oct 2011, 10:09 AM
Hi all,
I have using a grid in multiple tabs with the filter plugin. I am facing a problem in grid. Some time the column header selection and filter menu div is showing twice. But it is not always. Can some body tell me what could be the problem.
I am attaching a little code snippet as I have written.

var editGridFilters = new Ext.ux.grid.GridFilters( {
id :'editGridFilters',
filters :filters,
local :false,
autoReload :true
});

grid = new Ext.grid.EditorGridPanel(
{
id :'customEditableDwipGrid1',
loadMask : {
msg :'Please Wait Loading...'
},
sm : selModel,
viewConfig : {
forceFit :false,
enableRowBody :true,
showPreview :true
},
store :editGridStore,
columns :columnModel,
stripeRows :true,
autoWidth :true,
plugins :editGridFilters,
bbar :new Ext.PagingToolbar(
{
pageSize :parseInt(page_size),
store :editGridStore,
displayInfo :true,
// prependButtons: true,
items : [ '-', infoLabel ],
plugins :editGridFilters,
..................