Tab

ASPxGridColumnDataEventArgs.GetListSourceFieldValue(Int32, String) Method

Returns the value of the specified field in the specified data item (row, card or record) in the control's underlying data source.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public object GetListSourceFieldValue(
    int listSourceRowIndex,
    string fieldName
)
Public Function GetListSourceFieldValue(
    listSourceRowIndex As Integer,
    fieldName As String
) As Object

Parameters

Name Type Description
listSourceRowIndex Int32

An integer value specifying the data item's index.

fieldName String

A string that specifies the required field name.

Returns

Type Description
Object

An object that is a value from the control's data source.

Remarks

The GetListSourceFieldValue method returns a value from the specified cell in the control's underlying data source. The cell is identified by the data item's index and field name. To get the index of the processed data item, use the ASPxGridColumnDataEventArgs.ListSourceRowIndex property.

See Also