GridControl.NewItemRowVisibility Property

Gets or sets whether the New Item Row is shown in the grid to allow end-users to enter new data records. This is a bindable property.

Namespace: DevExpress.Mobile.DataGrid

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


public bool NewItemRowVisibility { get; set; }
Public Property NewItemRowVisibility As Boolean

Property Value

Type Description

true, to display the new item row; otherwise, false.



This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

If the NewItemRowVisibility property is set to true, the New Item Row is shown above grid's rows. When an end-user taps it, a row editor (an in-place editor or edit form, depending on the row edit mode set in the grid) is invoked. After an end-user sets required cell values in this editor and taps Apply (or Done), a new row is added.

To set the default values for a new row, handle the GridControl.InitNewRow event.



See Also