Sorting with Silverlight 2's DataGrid Control
So I am just starting to get my feet wet with Silverlight 2. I have gained some confidence over the past few days, but on the crawl, walk, run scale it feels like I am still crawling. Beginner or not, I figured I would take a shot at getting Silverlight's DataGrid control to support sorting. Nothing too complicated - just the standard click on the column header to sort the data. Surprisingly, I didn't see much on MSDN talking about how to implement sorting using the DataGrid. I know the documentation is still in the works so I am sure it is coming, but I was a little bit concerned about how to get started. No worries though, it turned out to be a breeze. If you are interested in the details, I have a quick description of what I did just beneath the following screen shot. Live Demo |...