PivotGrid Binding

2 posts, 0 answers
  1. amine
    amine avatar
    9 posts
    Member since:
    Apr 2011

    Posted 30 Sep 2013 Link to this post

    Hi,

    How can I bind RadPivotGrid to a simple List or ObservableCollection using mvvm? Is this possible? is there any example.

    Thank you
  2. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 02 Oct 2013 Link to this post

    Hello amine,

    I've already answered to your question in your other forum thread here. In the future please keep the discussion in a single thread for better tracking and understanding. Anyway here is my answer from your other thread:

    There are several ways to achieve the desired result. For example if you use LocalDataSourceProvider you can bind its ItemsSource directly in XAML. A better approach is to create an instance of the DataProvider directly in the ViewModel and bind RadPivotGrid's DataProvider property to this instance.

    You can find a runnable project in my other post. Hopefully this helps.

    Regards,
    Rosen Vladimirov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top