I’m trying to manually add data to the DataGrid. I can add a row fine (by adding a DataRow to the Items), but I’m not sure how to add a detail row. I’ve created a DetailConfiguration, but am not sure how I create a row for this detail and how to add it to the grid.
Imported from legacy forums. Posted by Scott (had 1893 views)
You cannot directly add items to a detail like you would to the Items collection of a DataGridControl. That said, I suggest you create a custom DataGridDetailDescription in whose GetDetailsForParentItem override, you return the items you want to display as details.