Wijmo UI for the Web
wijlist jQuery Widget
Allow users to select one or more items from a customizable list.
Syntax
$(function () {
    var options; // Type:  wijmo.list.wijlist.options
     
    $(".selector").wijlist(options);
});
function wijlist() : any;
Options
 NameDescription
public Option

Default value: true

The addHoverItemClass option determines whether the "ui-state-hover" class is applied to a list item on mouse over.

 
public Option

Default value: false

The autoSize determines whether or not the wijlist will be automatically sized.

 
public Option

Default value: null

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

 
public Option

Default value: false

Determines whether the widget is disabled. If set to true, the control appears dimmed and does not respond when clicked.

 
public Option

Default value: false

A value determines the highlight state when the mouse leaves an item.

 
public Option

Default value: []

An array that specifies the listItem collections of wijlist.

 
public Option

Default value: 5

A value specifies the maximum number of items that will be displayed if the autoSize option is also set to true.

 
public Option

Default value: -1

A value that specifies the index of the item to select when using single mode.

 
public Option

Default value: 'single'

A value indicates the list items can be single-selected or multi-selected

 
public Option

Default value: null

The superPanelOptions option indicates the customized options of wijsuperpanel when the wijsuperpanel is created.

 
Top
Methods
 NameDescription
public MethodThe activate method activates an item in the wijlist and allows the list to scroll to the item.  
public MethodThe addItem method adds the specified item to the list by index.  
public MethodThe deactivate method deactivates the activated item in the wijlist widget.  
public MethodRemove the functionality completely. This will return the element back to its pre-init state.  
public MethodAllows the user to find the index of first matched list item by item's label.  
public MethodThe first method tests whether the focus is at the first list item.  
public MethodThe getItems method allows the user to find list items by index or by value.  
public MethodThe method gets the jQuery object reference of the <ul> element of the wijlist widget.  
public MethodGet the select item(s).  
public MethodThe indexOf method returns the index of the specified list item.  
public MethodThe last method tests whether the last list item has focus.  
public MethodThe next method moves focus to the next list item.  
public MethodThe nextPage method turns to the next page of the list.  
public MethodThe popItem method removes the last item from the wijlist widget.  
public MethodThe previous method moves focus to the previous list item.  
public MethodThe previous method moves focus to the previous list item.  
public MethodThe refreshSuperPanel method refreshes the SuperPanel around the wijlist to reflect a change in the wijlist content.  
public MethodThe removeAll method removes all items from the wijlist.  
public MethodThe removeItem method removes the specified item from the wijlist.  
public MethodThe removeItemAt method removes the specified list item by index from the wijlist widget.  
public MethodThe renderList method renders the wijlist widget on the client browser when list items change.  
public MethodSelects item(s) in the list by item index/indices or value(s).  
public MethodThe method sets the items for the wijlist to render.  
public MethodThe unselectItems method clears selections from the indicated list items.  
public MethodReturns a jQuery object containing the original element or other relevant generated element.  
Top
Events
 NameDescription
public EventThe added event is fired after adding item in addItem method.  
public EventThe blur event is fired when the mouse leaves the item.  
public EventThe focus event is fired when the mouse enters the list item and after the hover event logic is processed.  
public EventThe focusing event is fired when the mouse enters the list item and before the hover event logic is processed.  
public EventThe itemRendered event is fired after a list item is rendered.  
public EventThe itemRendering event is fired before a list item is rendered.  
public EventThe listRendered event is fired after the list is rendered.  
public EventSelect event handler of wijlist. A function will be called when any item in the list is selected.  
Top
See Also

Widgets

List

Reference

wijlist jQuery Widget