Silverlight Datagrid sortingSilverlight Datagrid sorting
Old forum URL: forums.lhotka.net/forums/t/6269.aspx
rogercito posted on Tuesday, January 27, 2009
Hi,
I would like to know if there is a good practice for sorting in a silverlight datagrid so a Criteria object could be modified for fetching.
Ideally it would be great if this function is done automatically, but i understand perhaps this is not possible now, so a manual option will do. I'm trying the Linq option as put in the BO 2008 book.
I understand the AgGrid has a way to determine the sorted columns, something like AgGrid_SortingChanged event and "AgGrid.SortedColumns[index].SortOrder" and so, but couldn't find this in the Ms datagrid, and i would like to use Ms because CSLA it plays better with it (less lines of code).
How are you dealing with this? Any ideas/piece of code is greatly appreciated.
Copyright (c) Marimer LLC