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

Label Filter control

3 Answers 95 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Hung
Top achievements
Rank 1
Hung asked on 16 Mar 2015, 04:05 AM
Hi,
I have problem with RadPivotFieldList.
In Column labels, I choose field with type = datetime and step = Year. The problem is when I click  label filter, In list value, it shows all possible values, even these that are not in the columns. I don't know why? Am I miss songthing?
Please see picture I attached to see detail.

Another question, can we show/ hide, or sort list fields in run-time.

3 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 17 Mar 2015, 02:56 PM
Hi Hung,

The Label Filter dialog shows all possible options to filter on. However depending on the currently grouping, some of the might not be displayed inside of the PivotGrid. As for your second question, can you explain which fields exactly you need to sort and what do you need to achieve?

Regards,
Kalin
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.

 
0
Hung
Top achievements
Rank 1
answered on 18 Mar 2015, 07:57 AM
Hi Kalin,
Thanks for your answer.
So, we can't change The Label Filter dialog show only options in PivotGrid column, right? (as in my picture, it means show only "2014","2016", "2020").
About second question. 
Example I have Data with 3 Fields: "AA","AB","BB". I want to add textbox to filter field by name. When user input "A", field "BB" wil be Hidden. If textbox empty, it'll appear again. 
Regards,
HungVP

0
Kalin
Telerik team
answered on 20 Mar 2015, 03:24 PM
Hi Hung,

Indeed there isn't straight forward way to hide the not visible items. As for the other question unfortunately this might not be possible. However you can check the Events article that demonstrates how to modify the field tree initially:
http://docs.telerik.com/devtools/wpf/controls/radpivotgrid/events/overview#fielddescriptionproviders-events

Hope this helps.

Regards,
Kalin
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
Hung
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Hung
Top achievements
Rank 1
Share this question
or