The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.2.dll

Declaration

void SetFieldValue(
    string fieldName,
    object value
)
Sub SetFieldValue(
    fieldName As String,
    value As Object
)

Parameters

Name Type Description
fieldName String

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

value Object

An object representing the value to be assigned.

Remarks

Important

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 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.

See Also