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
305
Binding XamPivotGrid with Custom Data
posted

Hi,

I am using V10.3 control of XamPivotGrid. To this grid i want to bind custom data, i.e. based on users selection of cube, dimension, measures. I don't want to use XamPivotDataSelector control.

I have my own custom service layer. For returning the data based on MDX fired i am using GridData class which was built by you guys for Custom Data Provider Project. Following is the post.


http://blogs.infragistics.com/blogs/engineering/archive/2010/10/26/building-a-custom-data-provider-for-xampivotgrid-in-silverlight-using-wcf-and-adomd-net.aspx

now i want to bind this GridData class to my pivotgrid. I tried but didn't succeed. Can you please let me know how to achieve it.

Thanks,
Sachin.

Parents
No Data
Reply
  • 12875
    posted

    Hi Sachin,

     

    Are you using the sample provided in the blog post as a guide?  They are binding the xamPivotGrid  to a static resource defined in the xaml.    You would need to update the connection string.

     

    I’m not sure that I understand your reference to the GridData class.   What data source are you using?

     

    Is the bind not loading the pivotgrid or are you having trouble defining the row, columns, and measures for your pivotgrid?

     

    Please give me more details or perhaps the best approach would be for you to provide me with your own sample. 

Children