Grid filter hide/show in the column header


I have included filter in grid header and working fine for me as of now. I want to hide/show the filter in grid itself as need basis. I do not want to put a button/link out side of the grid and not intrested to do any edit on source files for hide/show the filter(keeping in mind future updates).



Please suggest me a better way to achive.



FYI- As per my application requirement, I am more looking like ExtJS grid filter - that can be a menu kind of thing which is having the filter by clicking arrow on right side of column header.



Thanks,



RamaRao R.

You can use getFilterElement() to access to the filter element and hide\show it in any moment you need. Please find more information here dhtmlx.com/dhxdocs/doku.php?id=d … terelement