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

Instant Filter on Custom Filter Row

1 Answer 44 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 28 May 2011, 01:17 AM
Hello,

I'm wondering whether this can be achieved?
For example, I have a grid view which has 5 columns. On each column, I have a filter row as the first row of the grid view.
The grid starts with no data rows except the filter row. (it has bind to a data set and it's not empty, just don't show the data when there is no filter text in the filter row.
As I typed something in the filter rows, it filters the data set instantly and displays the results. (filtering is triggered by key stokes)
I also would like to add a data pager if possible.
Could you give me a insight about how to approach this? Please provide me some sample code to start with if possible.

Thank you very much.

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 28 May 2011, 09:16 AM
Hello Peter,

You may try updating the respective filter descriptor on the TextChanged event of TextColumnHeader's TextBox. A similar approach is utilized in our Search as you type example. Please, do not hesitate to contact us if any further inquiries occur.

Greetings,
Ivan Ivanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Peter
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or