Wijmo UI for the Web
dataKey Field
wijmo.grid Namespace > IColumn 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.

Syntax
var instance; // Type: wijmo.grid.IColumn;
var value; // Type: any
value = instance.dataKey;
var dataKey : any;
Example
$("#element").wijgrid({ columns: [{ dataKey: "ProductID" }]});
See Also

Reference

IColumn Interface