Wijmo UI for the Web
getItems Method
the indices of the items.
Indicates the indices parameter is indices or values of items. If true, it's used as the index/indices of the item(s) to get. If false, it's used as the value/values of the item(s) to get.
The getItems method allows the user to find list items by index or by value.
Syntax
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  object
    // Parameters
    var indices; // Type:  undefined
    var byIndex; // Type:  bool
    
    returnsValue = $(".selector").wijlist("getItems", indices, byIndex);
});
Javascript (Specification) 
function getItems( 
   indices : undefined,
   byIndex : bool
) : object;

Parameters

indices
the indices of the items.
byIndex
Indicates the indices parameter is indices or values of items. If true, it's used as the index/indices of the item(s) to get. If false, it's used as the value/values of the item(s) to get.

Return Value

the item at the specified index or with the specified value.
Browser Compatibility
7
5
5

See Also

Reference

wijlist type
wijlist jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.