KoolListBox Class [Javascript]

Summary

Properties Description
id Get the id of KoolListBox.
Methods Description
get_item Get listbox item at an position.
get_items Get list of all items.
get_selected_items Get list of selected items.
delete_item Delete an item at a position.
select_item Select an item at a position.
unselect_item Unselect an item at a position.
move_item Move an item from a position to another.
transfer_to_destination Transfer item at a position to destination listbox.
transfer_to_destination Transfer an item to destination listbox.
transfer_all_to_destination Transfer all items to destination listbox.
transfer_all_from_destination Transfer all items from destination to this listbox.
transfer_from_destination Transfer an item at a position from destination.
transfer_from_destination Transfer an item from destination.

Properties Detail

idTop

string id

Get the id of KoolListBox.

Show/Hide Code

Supported from version: 1.0.0.0

Methods Detail

get_itemTop

ListBoxItem get_item(int position)

Get listbox item at an position.

Show/Hide Code

Supported from version: 1.0.0.0

get_itemsTop

array get_items()

Get list of all items.

Show/Hide Code

Supported from version: 1.0.0.0

get_selected_itemsTop

array get_selected_items()

Get list of selected items.

Show/Hide Code

Supported from version: 1.0.0.0

delete_itemTop

void delete_item(int position)

Delete an item at a position.

Show/Hide Code

Supported from version: 1.0.0.0

select_itemTop

void select_item(int position)

Select an item at a position.

Show/Hide Code

Supported from version: 1.0.0.0

unselect_itemTop

void unselect_item(int position)

Unselect an item at a position.

Show/Hide Code

Supported from version: 1.0.0.0

move_itemTop

void move_item(int from, int to)

Move an item from a position to another.

Show/Hide Code

Supported from version: 1.0.0.0

transfer_to_destinationTop

void transfer_to_destination(int position)

Transfer item at a position to destination listbox.

Show/Hide Code

Supported from version: 1.0.0.0

transfer_to_destinationTop

void transfer_to_destination(ListBoxItem item)

Transfer an item to destination listbox.

Show/Hide Code

Supported from version: 1.0.0.0

transfer_all_to_destinationTop

void transfer_all_to_destination()

Transfer all items to destination listbox.

Show/Hide Code

Supported from version: 1.0.0.0

transfer_all_from_destinationTop

void transfer_all_from_destination()

Transfer all items from destination to this listbox.

Show/Hide Code

Supported from version: 1.0.0.0

transfer_from_destinationTop

void transfer_from_destination(int position)

Transfer an item at a position from destination.

Show/Hide Code

Supported from version: 1.0.0.0

transfer_from_destinationTop

void transfer_from_destination(ListBoxItem item)

Transfer an item from destination.

Show/Hide Code

Supported from version: 1.0.0.0