- Enable the GridView.OptionsDetail.AllowExpandEmptyDetails option for the master grid view
- Handle the GridView.RowCountChanged event to call the GridView.SetMasterRowExpanded method to expand a master row.
Note
This example does not work with sorted or filtered data sources.