Wijmo UI for the Web
dataSource Option
wijmo.list.wijlist Namespace > options type : dataSource Option

Default value: null

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

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  wijdataview
    returnsValue = $(".selector").wijlist("option", "dataSource");
    
    // Set value
    var newValue; // Type:  wijdataview
    $(".selector").wijlist("option", "dataSource", newValue);
        
});
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.
See Also

Reference

options type
wijlist jQuery Widget