The addItem method adds the specified item to the list by index.
Syntax
Javascript (Usage)
var instance = newjQuery.wijmo.wijlist();
var value; // Type: any
// Parameters
var item; // Type: object
var index; // Type: number
value = instance.addItem(item, index);
Javascript (Specification)
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.