Skip to content

Mojox listview

mojox:mojox.ListView

Class ListView Extends ScrollableView#
Classes
Item
Fields
ItemClicked Invoked when an item is clicked.
ItemDoubleClicked Invoked when an item is double clicked.
ItemRightClicked Invoked when an item is right clicked.
SelectedChanged Invoked when current selected item is changed.
Constructors
New Creates a new list view.
Properties
Count Items count in the list view. (read only)
Selected Currently selected item.
SelectedIndex Currently selected index.
Methods
AddItem Adds an item to the list view.
IndexOfItem Returns the index of a given item in the list view.
InsertItem Inserts an item to the list view at a given index.
ItemAtIndex Returns the item by index in the list view.
ItemAtPoint Returns the item at a point in the list view.
RemoveAllItems Removes all items from the list view.
RemoveItem Removes an item from the list view.
RemoveItems Removes a sequence of items from the list view.
Protected methods
OnContentMouseEvent
OnMeasureContent
OnRenderContent