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

Getting filtered row/columns value (no OLAP)

1 Answer 23 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Stefania
Top achievements
Rank 2
Stefania asked on 19 Feb 2015, 02:28 PM
Hi,
I need to find a list of filtered rows/columns value on server side. Is it possible?
As you can see on the attached file I found the value but they are a not public member

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Angel Petrov
Telerik team
answered on 24 Feb 2015, 11:23 AM
Hi,

Actually you should be able to traverse the Items collection and extract the values. Please give the below a try and let us know how it goes.

C#:
foreach (object filter in ((RadPivotGrid1.Filters[0] as PivotGridLabelGroupFilter).Condition as PivotGridSetCondition).Items)
               {
                   string currentFilter = filter.ToString();
               }

If the above does not prove helpful please share with us the markup and code-behind of the page so we could examine the exact setup.

Regards,
Angel Petrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
PivotGrid
Asked by
Stefania
Top achievements
Rank 2
Answers by
Angel Petrov
Telerik team
Share this question
or