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 value; // Type: any
value = jQuery.wijmo.c1band.options.dataKey;
Javascript (Specification) 
var dataKey : any;
Example
$("#element").wijgrid({ columns: [{ dataKey: "ProductID" }]});
Browser Compatibility
7
5
5

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.