ListBoxItem Class [Javascript]

Summary

Properties Description
id Get the id of KoolMenuItem.
Methods Description
get_text Get text of the item.
get_value Get value of the item.
get_index Get index/position of the item.
get_data Get data of the item.
enable Enable an item.
disable Disable an item.
select Make item selected.
unselect If item is selected, then the function will unselect this item.
check Make item checked.
uncheck Make item unchecked.
set_active Set whether item is active.
set_selected Set whether item is selected.
set_enabled Set whether item is enabled.
set_checked Set whether item is checked.
set_checkable Set whether item is checkable.
set_imageurl Set image url for item.
set_tooltip Set tooltip for item.
set_text Set text for item.
set_value Set value for item.
set_data Set data for item.
get_selected Get whether the item is selected.
get_checked Get whether the item is checked.
get_imageurl Get image url of the item.
get_tooltip Get tooltip of the item.
get_element Get the html element of item.
get_enabled Get whether the item is enabled.

Properties Detail

idTop

string id

Get the id of KoolMenuItem.

Show/Hide Code

Supported from version: 1.0.0.1

Methods Detail

get_textTop

string get_text()

Get text of the item.

Show/Hide Code

Supported from version: 1.0.0.0

get_valueTop

string get_value()

Get value of the item.

Show/Hide Code

Supported from version: 1.0.0.0

get_indexTop

int get_index()

Get index/position of the item.

Show/Hide Code

Supported from version: 1.0.0.0

get_dataTop

array get_data()

Get data of the item.

Show/Hide Code

Supported from version: 1.0.0.0

enableTop

void enable()

Enable an item.

Show/Hide Code

Supported from version: 1.0.0.0

disableTop

void disable()

Disable an item.

Show/Hide Code

Supported from version: 1.0.0.0

selectTop

void select()

Make item selected.

Show/Hide Code

Supported from version: 1.0.0.0

unselectTop

void unselect()

If item is selected, then the function will unselect this item.

Show/Hide Code

Supported from version: 1.0.0.0

checkTop

void check()

Make item checked.

Show/Hide Code

Supported from version: 1.0.0.0

uncheckTop

void uncheck()

Make item unchecked.

Show/Hide Code

Supported from version: 1.0.0.0

set_activeTop

void set_active(bool _bool)

Set whether item is active.

Show/Hide Code

Supported from version: 1.0.0.0

set_selectedTop

void set_selected(bool _bool)

Set whether item is selected.

Show/Hide Code

Supported from version: 1.0.0.0

set_enabledTop

void set_enabled(bool _bool)

Set whether item is enabled.

Show/Hide Code

Supported from version: 1.0.0.0

set_checkedTop

void set_checked(bool _bool)

Set whether item is checked.

Show/Hide Code

Supported from version: 1.0.0.0

set_checkableTop

void set_checkable(bool _bool)

Set whether item is checkable.

Show/Hide Code

Supported from version: 1.0.0.0

set_imageurlTop

void set_imageurl(string image_url)

Set image url for item.

Show/Hide Code

Supported from version: 1.0.0.0

set_tooltipTop

void set_tooltip(string text)

Set tooltip for item.

Show/Hide Code

Supported from version: 1.0.0.0

set_textTop

void set_text(string text)

Set text for item.

Show/Hide Code

Supported from version: 1.0.0.0

set_valueTop

void set_value(string text)

Set value for item.

Show/Hide Code

Supported from version: 1.0.0.0

set_dataTop

void set_data(array data)

Set data for item.

Show/Hide Code

Supported from version: 1.0.0.0

get_selectedTop

bool get_selected()

Get whether the item is selected.

Show/Hide Code

Supported from version: 1.0.0.0

get_checkedTop

bool get_checked()

Get whether the item is checked.

Show/Hide Code

Supported from version: 1.0.0.0

get_imageurlTop

string get_imageurl()

Get image url of the item.

Show/Hide Code

Supported from version: 1.0.0.0

get_tooltipTop

bool get_tooltip()

Get tooltip of the item.

Show/Hide Code

Supported from version: 1.0.0.0

get_elementTop

bool get_element()

Get the html element of item.

Show/Hide Code

Supported from version: 1.0.0.0

get_enabledTop

bool get_enabled()

Get whether the item is enabled.

Show/Hide Code

Supported from version: 1.0.0.0