Sorting MVVM

5 posts, 0 answers
  1. Sandro
    Sandro avatar
    18 posts
    Member since:
    Jan 2011

    Posted 10 Jul 2012 Link to this post

    Hi

    I need to call the sorting of column using MVVM.
    I have radgridview binded to observablecollection. I cannot use the collectionview because I need to add, edit, delete on the radgridview.


    Thank you in advance for the reply.



  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 10 Jul 2012 Link to this post

    Hello,

     You can still add, edit and delete using ICollectionView. Furthermore if you want even deeper integration you can use our QueryableCollectionView in you model where you can provide sorting, filtering, grouping, etc. 

    Greetings,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Sandro
    Sandro avatar
    18 posts
    Member since:
    Jan 2011

    Posted 10 Jul 2012 Link to this post

    Hi VIad

    OK. I can't find any example codes on your site on using ICollectionView/QueryableCollectionView that has Add, Edit and Delete on MVVM.


  4. Nick
    Admin
    Nick avatar
    593 posts

    Posted 13 Jul 2012 Link to this post

    Hi Sandro,

    I am attaching an application showing a simple approach on how to integrate the QueryableCollectionView with RadGridView.

    Hope it helps! 

    Regards,
    Nik
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  5. Sandro
    Sandro avatar
    18 posts
    Member since:
    Jan 2011

    Posted 18 Jul 2012 Link to this post

    Hi Nik

    Thank you it helps.

Back to Top