as i found in the knowledge base, colum moving is not possible with attached filters, if not all columns have filters attached, because of rowspan.
If i am attaching filters to all columns, column moving works fine.
Unfortunately not in every situation filters make sense. My idea was, to attach filters to every column, but for
a couple of columns i want to hide the filters via css+jquery.
But in firebug, i’ve seen, that the filters field have no id or class attached.
Is it possible to have this?
Best regards, Stefan
You can set id for the filter in header with following code:
var filter=mygrid.getFilterElement(COLUMN_INDEX);//reference to the filter html object
this works fine. Is it possible to replace the select filter box with the combo.box-control?
sorry, i found the combobox example in the samples.
text_search input can not be got by getFilterElement method.
You can try to use the following approach instead: grid.hdr.rows.cells[COLUMN_INDEX].getElementsByTagName(“INPUT”)
var filterObject = mygrid.hdr.rows.cells.getElementsByTagName(“INPUT”);