Wijmo UI for the Web
dataSource Option

Default value: null

This option is the wijdataview to which the wijlist is bound.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  wijdataview
    returnsValue = $(".selector").wijlist("option", "dataSource");
    
    // Set value
    var newValue; // Type:  wijdataview
    $(".selector").wijlist("option", "dataSource", newValue);
        
});
Javascript (Specification) 
var dataSource : wijdataview;
Remarks
This option is used if this wijlist is bound to a wijdataview. In that case, you can also specify a mapping option to select the properties to bind to, and the listItems option returns an array of objects containing value and label property values determined by that mapping.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijlist jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.