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

Filtering on the client side

3 Answers 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Filleau
Top achievements
Rank 1
Filleau asked on 27 Jan 2009, 11:05 AM
Hello

Is it possible to change the filter on the client with a script ?

Actually, my Grid contains more than 300 records, and because they are all loaded on my page (there is no paging on my grid) it takes some time to display it.

When user wants to have a filter, I think that the  filtered records are send from the server again. So I'm thinking it will speeder to do this in client memory.

If you have a sample....

Thanks 

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 29 Jan 2009, 01:05 PM
Hi Filleau,

To see more information on the requested functionality, please refer to the following example.
I hope this helps.

All the best,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Crescent
Top achievements
Rank 1
answered on 29 Jan 2009, 11:26 PM
@Telerik: your example filters records in the database. What part of "in client memory" did you not get?

@Filleau: RadGrid cannot filter on the client. You'd have to implement that yourself.

0
Sebastian
Telerik team
answered on 30 Jan 2009, 07:40 AM
Hi guys,

You may consider using declarative client-side binding along with paging/sorting/filtering and shown in this online demo:

http://demos.telerik.com/aspnet-ajax/grid/examples/client/declarativedatabinding/defaultcs.aspx

Furthermore, you may want to enable client-side caching to cache the filter expressions as illustrated here.

Kind regards,
Sebastian
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Filleau
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Crescent
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or