This is a migrated thread and some comments may be shown as answers.

[Solved] Searching data and filtering in Grid

1 Answer 111 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Christian
Top achievements
Rank 1
Christian asked on 18 Nov 2010, 10:39 AM

We would like a button to both apply some filters, which are stored in controls marked by the gridfilter class, and also send along a separate search string which is handled on the server side.

* the applyFilterButton class used on an Apply Filter button can initiate filtering.
* A window.location = ... on a Search button can do the search, including the search string as a query string.

 


Here is the problem: Why cannot both be done by the same button?
* The Apply Filter button does not take into account the search string.
* The Search button does not take into account the values of the filter controls marked with gridfilter.

What would you propose?

BR
Christian

 

1 Answer, 1 is accepted

Sort by
0
Alexandre Jobin
Top achievements
Rank 1
answered on 30 Nov 2010, 08:51 PM
im looking for the praticly the same thing. How can i have a searchbox to filter the data of the grid and also keep the 'sortable' functionality of the grid?

i have attached a screenshot of what im doing. I need to filter the grid in Ajax mode with the searchbox at the top but also be able to sort the filtered data by clicking the column header.

thank you for the help!
Tags
Grid
Asked by
Christian
Top achievements
Rank 1
Answers by
Alexandre Jobin
Top achievements
Rank 1
Share this question
or