Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Agile on Oct 22, 2008 21:28
open dhtmlx forum
Filter Values

Hi Team,

Is it possible to set the filter text box values?
How to do it using javascript?

Thanks.

- Agile
Answer posted by Support on Oct 23, 2008 01:37
There are no build in methods to access filter inputs in header.

But it can be done through DOM as follows:
 
var input = grid.hdr.rows[2].cells[Column_Index].getElementsByTagName("INPUT")[0];

input.value="Foo";