Skip to main content
A newer version of this page is available. .

GridLookupSettings.KeyFieldName Property

Gets or sets the name of the data source key field.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll

Declaration

public string KeyFieldName { get; set; }

Property Value

Type Description
String

A String value that specifies the name of the data source key field.

Remarks

Note

Setting this property is required for the editor to properly process item selection, sorting, paging, and other operations.

Note

The values contained in the key field must be unique.

See Also