InitNewRowEventArgs.EditableRowData Property
In This Article
Gets an object that contains information on the newly added row and allows you to modify cell values in this row.
Namespace: DevExpress.Mobile.DataGrid
Assembly: DevExpress.Mobile.Grid.v18.2.dll
#Declaration
public IEditableRowData EditableRowData { get; }
#Property Value
Type | Description |
---|---|
IEditable |
An object implementing the IEditable |
#Remarks
Important
This documentation topic describes legacy technology. We no longer develop new functionality for the Grid
Use the IEditableRowData.SetFieldValue method to initialize cells of the newly added row.
#Example
The following code shows how to initialize the “Date” field of a new row via the GridControl.InitNewRow event.
using DevExpress.Mobile.DataGrid;
// ...
void OnInitNewRow(object sender, InitNewRowEventArgs e) {
e.EditableRowData.SetFieldValue ("Date", DateTime.Today);
}
See Also