Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Feb 16, 2009 22:56
open dhtmlx forum
Filtering for DhtmlxTreeGrid

Hi,

In our project,i am using Dhtmlxtreegrid.Now i have to implement filtering concept for that tree grid such a way that ,I have implemented #text_filter using attachHeader.How to implement custom filter inside that of #text_filter in attachHeader? As well as How to retrieve the user entered value from that Text_filter?

Give me some samples for this issue.
Thanks in advance.
Answer posted by dhxSupport on Feb 17, 2009 01:33

To implement custom filter in the header you can use filterBy(column, value, preserve) method where column - {number} zero based index of column, value - {string} filtering mask, preserve - {bool} filter current or initial state ( false by default ).

Please see more information here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Data_filtering_search.html#grid_fsing

And sample here http://dhtmlx.com/docs/products/dhtmlxGrid/samples/filtering/pro_filter.html