Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by RamaRao R on Dec 14, 2009 04:31
open dhtmlx forum
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.

Answer posted by dhxSupport on Dec 14, 2009 05:54
You can use getFilterElement() to access to the filter element and hide\show it in any moment you need. Please find more information here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:api_method_dhtmlxgridobject_getfilterelement