![]() | ![]() |
KoolCombobox Class [Javascript]
Summary
Properties | Description | |
![]() | id | Get the id of combobox |
Methods | Description | |
![]() | getItemIds | Get all ids of items in combobox |
![]() | getItem | Get item object |
![]() | addItem | Add a new item to item list of combobox |
![]() | removeItem | Remove item from item list of combobox |
![]() | getText | Get selected text in combobox |
![]() | getValue | Get selected value in combobox |
![]() | open | Open combobox option panel |
![]() | isOpening | Return true if combobox option panel is opening |
![]() | close | Close combobox option panel |
![]() | registerEvent | Register an client-side event. |
Methods Detail
addItemTop
KoolcomboboxItem addItem(string text, [object data])
Add a new item to item list of combobox
Supported from version: 1.0.0.1
removeItemTop
void removeItem(string itemid)
Remove item from item list of combobox
Supported from version: 1.0.0.0
getValueTop
string getValue(string id)
Get selected value in combobox
Supported from version: 1.0.0.0
isOpeningTop
bool isOpening(string id)
Return true if combobox option panel is opening
Supported from version: 1.0.0.0
registerEventTop
void registerEvent(string eventName, function handleEvent)
Register an client-side event.
Allowed eventName:
-
"OnBeforeSelect"
"OnBeforeOpen"
"OnBeforeClose"
"OnBeforeSendUpdateRequest"
"OnBeforeUpdateItemList"
"OnBeforeKeyPress"
"OnSelect"
"OnOpen"
"OnClose"
"OnSendUpdateRequest"
"OnUpdateItemList"
"OnKeyPress"
Supported from version: 1.0.0.0
![]() | ![]() |