The Rendering is done properly for columns with width
I think its a bug,
If my code has columns which are given width, instead of Flex, as i need Horizondal scroll bar to appear, also there is header filter assigned to each columns,
While Choosing a hidden column from "Select Column", the filters are not render properly,
but once i stretch the column, it gets rendered properly..
But than i tried changing the code grid filter plugin, since it handles only column.flex, previosuly, I tried adding a condition for column.width too and it worked fine
Code:
adjustFilterWidth: function() {
if(!this.containers) return;
var columns = this.grid.headerCt.getGridColumns(true);
for(var c=0; c < columns.length; c++)
{
var column = columns[c];
if (column.filter && column.flex)
{
this.containers[column.id].setWidth(column.getWidth()-1);
}
else if (column.filter && column.width)
{
this.containers[column.id].setWidth(column.getWidth()-1);
}
}
}