Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3914
Adding InitalRows and Cols to FlatDataSource throws an exception
posted

Hi,

I am using xamPivotGrid and FlatDataSource as its source.

When I add rows and cols to FlatDataSource (as below), I get the following exception

flatDataSource.Columns = DataSourceBase.GenerateInitialItems("[Index Name].[Index Name]");

flatDataSource.Rows = DataSourceBase.GenerateInitialItems("[End Date].[End Date],[Gpt Name].[Gpt Name]");

 

An item with the same key has already been added. ...

at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)

at Infragistics.Olap.DataSourceBase.CreateResultCache IResult

 

Is there any workaround for this.

Thanks

Sangeetha

Parents Reply Children
No Data