ASPxClientVerticalGrid.GetRecordKey(visibleIndex) Method

Returns the key value of the specified data row (record in the vertical grid).


GetRecordKey(visibleIndex: number): string


Name Type Description
visibleIndex number

An integer value that specifies the record's visible index.


Type Description

A string representing the specified data row's key value. If the index passed using the visibleIndex parameter is wrong or the ASPxGridBase.KeyFieldName property is not set, null is returned.


The GetRecordKey method is in effect for data rows (records in vertical grid) only - it does not work for category rows.


If multiple key fields are set using the grid's ASPxGridBase.KeyFieldName property, a specific service vertical bar symbol (the symbol |) is used to separate key field values in the string returned by the GetRecordKey method.

See Also