Wijmo UI for the Web
dataKey Option

A value used to identify a column in a data array. Can be string if the data option contains an array of objects or an integer if the data option is an array of arrays.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  any
    returnsValue = $(".selector").wijfilter("option", "dataKey");
    
    // Set value
    var newValue; // Type:  any
    $(".selector").wijfilter("option", "dataKey", newValue);
        
});
Javascript (Specification) 
var dataKey : any;
Example
$("#element").wijfilter({ dataKey: "ID" });
Browser Compatibility
7
5
5

See Also

Reference

options type
wijfilter jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.