Skip to main content
A newer version of this page is available.
All docs
V18.2

TableView.AddNewRow() Method

Adds a new row to the TableView‘s underlying datasource.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v18.2.dll

Declaration

public void AddNewRow()

Remarks

Use the AddNewRow method to add a new row to the view’s underlying datasource. The View immediately reflects any changes made to the datasource and focuses the new record.

When a new record is added, the datasource may initialize some values (key fields, for instance). Record initialization can also be performed manually by handling the TableView.InitNewRow event.

An end-user can add new records via the New Item Row.

See Also