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

Save and recall filter descriptors

1 Answer 9 Views
DataGrid
This is a migrated thread and some comments may be shown as answers.
Julien
Top achievements
Rank 1
Julien asked on 20 Jun 2016, 05:28 AM

Hello,

Would it be possible to save the list of filters from FilterDescriptors, and re-apply the same filter later.

Let's say a user filters the data in the grid. He wants to save his "view", and be able to recall it later.

I tried using JsonConvert but it's difficult to deserialize because I don't know which type of filter was recorded (numeric, text, etc...). Any clues on how this can be achieved ?

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 20 Jun 2016, 08:38 AM
Hi Julien,

Thank you for contacting us! While this is not very common scenario, you might be able to record data regarding the type of the descriptor or the column in a separate record/field, so you can determine the type of descriptor when restoring them.

Regards,
Tsvyatko
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
DataGrid
Asked by
Julien
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or