Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by gabriel on Dec 09, 2008 04:43
open dhtmlx forum
Grid Filtering

Is it possible to do the following inside the dhtmlxGrid?

1. Get current filterting values and column ids?
I am using a filtered view to display certain rows + option to use additional filter inside this view (with the "true" option) . I need to return to the previous filtering state when I clear the additional filter.

2. One input box to filter all columns

Is there any built in or custom solution to filter all columns by one input field?

Thanks for your help
Answer posted by Support on Dec 09, 2008 05:07
1. you can use onFilterStart event to catch latest values of filters
http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=6372&ssr=yes&s=onFilterStart


2. There is no ready to use solution, but you can put a custom input element in header and use grid.filterBy with necessary parameters to filter grid.