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

Get Predicate from applied filters on grid

1 Answer 64 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Dheeraj
Top achievements
Rank 1
Dheeraj asked on 14 Feb 2013, 01:34 PM
Hi,

I want to get what are the filters applied on Pivot Grid. Is it using predicate or some other format so that same filters i can save in database and can assign grid (last applied filters) when user come to same page.

Is there any way to do it , please help !

Thanks 
Dheeraj 

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 19 Feb 2013, 09:36 AM
Hello Dheeraj,

I strongly suggest that you examine this help article which explains in detail how filtering in RadPivotGrid is done. As for saving the filtering settings you can do this by extracting the filter expressions from the FilterExpressions collection of the pivot and store them in your database. Later you can restore the settings in the Page_Load event.
IEnumerable<PivotGridGroupFilter> filterExpressions = RadPivotGrid1.FilterExpressions;

All the best,
Angel Petrov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
PivotGrid
Asked by
Dheeraj
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or