Hello,
is there any documentation or samples how to write your own ViewModel, ModelProvider etc for XamWebPivotGrid? When I create my own ViewModel and set it to the grid, its methods won't be seemingly called at all.
Regards,Maxim FridentalAxinom GmbH
Hi Maxim,
There is an example in the CTP (AdomdClient). You can use it as a reference how to build a View Model. In the release there will be an article how you can write your own ViewModel.
Thanks,George
Hi George,
I'm sorry, but I can't find anything about AdomdClient in the current CTP (is 2010.1 the current one), not any other ViewModel implementation in source code... Could you send me this example?
Cheers,Maxim
Sorry, I thought that this sample was included in the CTP.
Please try with the attached project and see if it will work for you.
You need to put the service in your web project and update the service references in the project.
Best,George
thanks, but this sample is based on XmlaViewModel, and the most interesting implementation details are still hidden from me.
In my scenario, I have proprietary data sources in the backend, which aren't physically cubes, and even logically the data is more complicated/dynamic than a normal cube. But the data can be drilled down, so a pivot grid is a best fit (and in fact a must have requirement) for displaying the data.
I'm trying to start from UI. My first step would be to display a grid with one row, one column and one cell, using xamPivotGrid. I'm trying to do the minimal required effort to implement it. But the grid is throwing a null reference exception somewhere in the DataManager, when I set an actually valid and fully formed IResult to the LayoutData property. Unfortunately I cannot understand what exactly is null, because this place of DataManager is obfuscated. I've attached a sample project.
Thank you for your help!
Cheers, Maxim
just wanted to ask if you had time to look at my question...
Hi Len,
Yes, at the moment it is working. It will be in final RTM version.
Hi George. On this thread, Maxim provided a very simple example of code to make his custom data objects available. You asked him to wait until the release of the Pivot Grid.
Will this sample code now work? I have similar requirements.
Thanks,
Len
I'm sorry to say it, but you should wait for the release to be able to achieve what you want.