VGridControlBase.AddNewRecord() Method
Adds a new record.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v19.1.dll
Declaration
Remarks
Use the AddNewRecord method to add a new record to the vertical grid’s underlying data source. The vertical grid reflects any changes made to the data source and focuses the new record if the VGridOptionsBehavior.AutoFocusNewRecord property is set to true.
Calling the AddNewRecord method has no effect if the vertical grid functions in unbound mode.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AddNewRecord() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.