Hi,
I am binding the xamDataSelector with a FlatData Source. After providing the FlatDataSource with the list of Cubes which i want to display, i am not able to see any of the cubes. Can you please let me know where i am going wrong.
Following is the code:
dataSource =
();
dataSource.ConnectionSettings =
lstCube)
{
cubeMetaData.DisplayName = e.Name;
cubeMetaData.DataTypeFullName = e.Name;
dataSource.CubesSettings.Add(cubeMetaData);
}
PivotGrid.DataSource = dataSource;
PivotDataSelector.DataSource = dataSource;
Thanks,Sachin.
Hi Sachin,
You need to define the hierarchies and measures which you can do in xaml or in code behind.
This document explains how to go about it.
http://help.infragistics.com/NetAdvantage/DV/2010.3/CLR4.0/?page=xamPivotGrid_US_Assigning_Hierarchies_And_Measures.html
There are samples in the Silverlight DV feature browser in the Basic section, “FlatDataSource(XAML)” and “FlatDataSource(XAML)”, which should be helpful to you.
Looks like I mistyped my last response. The samples I wanted to recommend are the “FlatDataSource(XAML)” and “FlatDataSourceCodeBehind)”.
Let me know if you have further questions.