This is a migrated thread and some comments may be shown as answers.

Sorting MVVM

4 Answers 103 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sandro
Top achievements
Rank 1
Sandro asked on 10 Jul 2012, 07:27 AM
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.



4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 10 Jul 2012, 07:29 AM
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 >>

0
Sandro
Top achievements
Rank 1
answered on 11 Jul 2012, 02:02 AM
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.


0
Nick
Telerik team
answered on 13 Jul 2012, 01:12 PM
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.

0
Sandro
Top achievements
Rank 1
answered on 18 Jul 2012, 08:59 AM
Hi Nik

Thank you it helps.

Tags
GridView
Asked by
Sandro
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Sandro
Top achievements
Rank 1
Nick
Telerik team
Share this question
or