Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Definelife on Dec 23, 2009 03:08
open dhtmlx forum
Dynamicly loading Grid filter

Dear Support,

Is it possible to load the grid filters dynamicly with loadXMLString in the <head> area?

Thanks in advanced,
Answer posted by dhxSupport on Dec 23, 2009 07:09
Do you mean you want to load option to the filters dynamically? In such case you can use #combo_filter. You can get reference to this filter with getFilterElement(ind) method. This reference is an instance of dhtmlxCombo object, you can use dhtmlxCombo API to load any necessary option to the combo_filter.
Example available here http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/08_filtering/02_pro_filter_combo.html