IEditableRowData.SetFieldValue(String, Object) Method

Sets a value to the specified field in the processed row.

Namespace: DevExpress.Mobile.DataGrid

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

Syntax

void SetFieldValue(string fieldName, object value)

Parameters

Type Name Description
String fieldName

A String value that specifies the name of the field whose value must be assigned.

Object value

An object representing the value to be assigned.

If the GridControl.CustomUnboundColumnData event is raised when an end-user modifies an unbound column's value in the grid (the GridColumnDataEventArgs.IsSetData parameter is set to true), you can use the SetFieldValue method to assign a value to the specified field in the processed row.