Wijmo UI for the Web
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
Javascript (Usage) 
var instance = new jQuery.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.
Browser Compatibility
7
5
5

See Also

Reference

wijlist type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.