wijmo.grid Namespace > IC1BaseFieldOptions Interface : dataKey Field |
A value indicating the key of the data field associated with a column. If an array of objects is used as a datasource for wijgrid, this should be string value, otherwise this should be an integer determining an index of the field in the datasource.
Javascript (Usage) | |
---|---|
var instance; // Type: wijmo.grid.IC1BaseFieldOptions; var value; // Type: any value = instance.dataKey; |
Javascript (Specification) | |
---|---|
|
$("#element").wijgrid({ columns: [{ dataKey: "ProductID" }]});