Skip to main content

ASPxClientVerticalGrid.GetRecordValues(visibleIndex, fieldNames, onCallback) Method

Returns the values of the specified data source fields within the specified record.


    visibleIndex: number,
    fieldNames: string,
    onCallback: ASPxClientVerticalGridValuesCallback
): void


Name Type Description
visibleIndex number

The record’s visible index.

fieldNames string

The names of data source fields separated using a semicolon, whose values within the specified record are returned.

onCallback ASPxClientVerticalGridValuesCallback

An ASPxClientVerticalGridValuesCallback object that represents the JavaScript function which receives the list of record values as a parameter.


Call the client-side GetRecordValues mathod to obtain the value of the specified cell.

protected void ASPxVerticalGrid1_CustomCallback(object sender, DevExpress.Web.ASPxVerticalGridCustomCallbackEventArgs e) {
    if (!String.IsNullOrEmpty(e.Parameters)) {
        var grid = (ASPxVerticalGrid)sender;
        grid.Selection.SelectRecordByKey(grid.GetRecordValues(Convert.ToInt32(e.Parameters), grid.KeyFieldName));
See Also