I want to have my inputs in the header of the grid. I’m using the attachHeader method for this.
But when I start typing in any of the inputs in the header the grid is fireing some autosearch event.
I pass the filter values in to a cookie which then gets read by the php database routine providing the XML. “values” ist a comma separated list of all the filter fields in the header (Thus, you are not able to filter by commas ) Advantage of the cookie solution is, that you don’t have to fiddle around with URL parameters and they “survive” a page refresh also.
Now when I’m start typing the event doesn’t fire up anymore. That’s fine. But now every time I change the focus between the inputs (I click in the input) the grids get reloaded.
I figured out the event I was talking about is onBeforeSorting. I added custom inputs in the header using attachEvent. Now when I click in any of the inputs the onBeforeSorting gets fired. Can I dissable the onBeforeSorting for the second row in the header ?
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan