I've prepared a sample project to demonstrate how you can define and use LocalDataSourceProvider in your ViewModel. Please note that if you add GroupDescription and you set the PropertyName to a value that doesn't exist in your DataItem, the group description will not be created. For example - if you have collection of Orders and each Order have the following properties: "Net", "Quantity", "Product", when you try adding a new PropertyGroupDescrtiption
with PropertyName="Advertisement", RadPivotGrid
will not create it as there's no property "Advertisement" in Order class.
Could you test the attached project and inform us if it works for you? I'm looking forward to hearing from you.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.