Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by napesite on Aug 03, 2009 12:47
open dhtmlx forum
How to set focus on the grid header cell Customizing the filter

Hi, please am trying to set focus to header cell on the grid, how can i go about the implementation it?
Also, how can I modify the filter because I am trying to filter by "Active"status but is not working because Inactive also contain the word "active" so, it's showing both active and inactive but I want only active ones
Answer posted by dhxSupport on Aug 04, 2009 03:03
>>Hi, please am trying to set focus to header cell on the grid, how can i go about the implementation it?
You can get reference to the filter html object using mygrid.getFilterElement(COLUMN_INDEX) method and then set focus to it
>>Also, how can I modify the filter because I am trying to filter by "Active"status but is not working because Inactive also contain the word "active" so, it's showing both active and inactive but I want only active ones
You can use #text_filter_inc or #select_filter_strict filters instead

Answer posted by napesite on Aug 05, 2009 06:52
Thanks, the filter works