This example demonstrates how to define an AddRemoveRowBehavior that allows you to add and remove rows from the GridControl. The behavior uses the TableView.AddNewRow and GridViewBase.DeleteRow methods to add and remove rows, and the GridViewBase.AddingNewRow event to populate the added row with default values.
Add and remove rows from the GridControl.
License
DevExpress-Examples/wpf-data-grid-add-and-remove-rows-in-code
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Add and remove rows from the GridControl.