Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Silverlight and icollectionview

So I have a datagrid that I need to add custom sorting for and I also need to know the exact order of the sort.

I have read in order to do this I need to implement a custom icollectionview and bind it to the datagrid.

The problem I am having is that the documentation Microsoft gives on this interface is not that great. Does anyone know how to do this or have any good tutorials on how to implement this interface for silverlight?

like image 223
zachary Avatar asked Jun 10 '09 13:06

zachary


2 Answers

I'm looking for the same, and found this article from Colin Eberhardt. It shows how to implement sorting using an implementation of ICollectionView

If you figure out how to implement filtering, please let me know.

like image 50
Larsi Avatar answered Oct 18 '22 21:10

Larsi


Silverlight 3 now supports and implementation of the ICollectionView, called PagedCollectionView.

This provides sorting and grouping, but not filtering.

like image 20
Phillip Ngan Avatar answered Oct 18 '22 22:10

Phillip Ngan