Skip to main content

GridControl.AddNewRow() Method

Adds a new record.

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

public void AddNewRow()

Remarks

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

The AddNewRow method is available for all datasources supported by the grid. The data item class should have a public default constructor.

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

See Also