Wijmo UI for the Web
addItem Method
wijmo.list Namespace > wijlist type : addItem Method
Indicates the listItem to add.
Index of the added item.
The addItem method adds the specified item to the list by index.
Syntax
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var item; // Type:  object
    var index; // Type:  number
    
    returnsValue = $(".selector").wijlist("addItem", item, index);
});
function addItem( 
   item : object,
   index : number
) : any;

Parameters

item
Indicates the listItem to add.
index
Index of the added item.
Remarks
If the index is undefined, then the item becomes the last list item.
See Also

Reference

wijlist type
wijlist jQuery Widget