Wijmo UI for the Web
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
Javascript (Usage) 
var instance; // Type: wijmo.grid.IC1CommandBtnFieldOptions;
var value; // Type: any
value = instance.dataKey;
Javascript (Specification) 
var dataKey : any;
Example
$("#element").wijgrid({ columns: [{ dataKey: "ProductID" }]});
Browser Compatibility
7
5
5

See Also

Reference

IC1CommandBtnFieldOptions Interface

 

 


© 2013 All Rights Reserved.

Send comments on this topic.