Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 5. The Data Grid > Implementing master-detail in the DataGrid

Implementing master-detail in the DataGrid

In order to save screen space, not creating too many columns in a DataGrid may be a good idea. A better solution in this case is to create a master-detail implementation. The master, being the original row in the DataGrid, would then contain a few columns only. When clicking on any row, the details of that row are shown. In the Silverlight DataGrid, this is possible due to the RowDetailsTemplate.

Getting ready

To follow along with this recipe, you can continue using the code that was created in the previous recipes. Alternatively, you can use the starter solution located in the Chapter05/Datagrid_Master_Detail_Starter folder in the code bundle that is available on the Packt website. The finished solution for this recipe can be found in the Chapter05/Datagrid_Master_Detail_Completed folder.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint