Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Raghu on Nov 03, 2008 03:00
open dhtmlx forum
Grid Filter

If you need to force filtering by existing in-header filters, you can call
         grid.filterByAll();
If you need a input in header with custom filtering logic, you can place any custom HTML control as part of header and attach onchange|onkeypress event to it, which will call grid.filterBy

Hi,
But the problem in using this is. when you click on the input text box it will start sorting.
Answer posted by Support on Nov 03, 2008 03:45
Just add a bit of code, to stop onclick event 
    <input onclick="(arguments[0]||event).cancelBubble=true;" ...