Hi Team,
I am building the data dynamically for Pivot with the help of DataTable.
I want to the set hierarchies to the columns so it can be expanded or collapsed as per the level of data selected by user.
Say if 3 levels are selected from data selector, the pivot should show as below
----------------------
| Level 1 - |
| Level 2 | Level 3 |
Expanded View
| Level 1 + |
Request you to suggest some solution over it.
Sincerely,
Pratik
Hi
You can look at these posts how you can build your datasource dynamically. http://es.infragistics.com/community/forums/t/45156.aspx and http://es.infragistics.com/community/forums/t/95164.aspx
Also you can read here how to create hierarchies in your datasource http://help.infragistics.com/doc/WPF/2015.2/CLR4.0/?page=xamPivotGrid_US_Defining_Hierarchies_And_Providing_Metadata_With_FlatData.html
Thanks
Todor
Hi,
I have already created a dynamic data using datatable
Can you help me with a sample solution where I can have multiple hierarchy using code behind approach.
As the sample provided so far refer to some class and their properties. In my case I don't have as such static class, All I have is DataTable with data.