Silverlight Datagrid add/delete operations and ObservableCollection

In my previous post,the collection I used is a List.  So, each time I add a new item to the list, the itemsource of the datagrid need to be modified/reset to reflect the latest changes to the collection. Using the ObservableCollection gets this functionality comes free of cost/extra code for us.  The observable collection implements…

2

ScrollIntoView in Silverlight Datagrid

                Silverlight 2.0 Datagrid ships with a very cool function known as ScrollIntoView.  This function provides the functionality to bring into view (show) a particular row or column in the datagrid.  I was playing with adding rows to the datagrid, and everytime I add a row, the row gets added to the end of the…

5

Master-detail app Using two Datagrids in Silverlight

Master Detail apps are one of the popular usages of a datagrid control.  The datagrid that is shipped as part of Silverlight 2.0 RTW can be used for doing this.  Coming from the client world (winforms), I wanted to try out creating a master-detail app using the SilverLight 2.0 datagrid control.  The database I chose…

1