Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Brendan on Aug 19, 2009 15:55
open dhtmlx forum
accessing filter combo box in header

I have the most recent build of dhtmlxGrid and I am trying to use the mygrid.getCombo(col_ind) function to get access to a combo filter in the header of my grid. Is this possible?

Thanks!
Answer posted by Support on Aug 20, 2009 06:14
getCombo returns a combo object for data part of grid, if you need to access element, which was created through filtering shortcuts, you can use
          grid.getFilterElement(index);
index - index of related columns

Method will return input object for the text and select filters, and combo object for the combo filter. 
Answer posted by Brendan on Aug 20, 2009 06:32
Awesome! Woks great! Thank you!