This example demonstrates how to display custom rows (ordinal, blank/group, and summary) in the WinForms Data Grid. Custom rows do not exist in the grid's data source. Custom rows support data editing, sorting, and grouping.
The example creates a data source wrapper and handles the following events:
- The CustomColumnSort event is handled to display custom rows at the specified position regardless of sorting.
- The ShowingEditor event is handled to prevent editing blank and summary custom rows.
- The CustomColumnGroup event is handled to group custom rows. The CustomDrawGroupRow event is handled to display text within a custom group row.
(you will be redirected to DevExpress.com to submit your response)