Child pages
  • Popup

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Property SummaryGet/set the css class of the popup menu.

servoy sSummary12%30%58%height: 30px;3Methods SummaryAdd a checkbox.Add a checkbox at the selected index (starting at 0) or at the end.Add a checkbox with given name.Add a checkbox at the selected index (starting at 0) or at the end.Add a checkbox at the selected index (starting at 0) or at the end.Add a checkbox at the selected index (starting at 0) or at the end.Add a checkbox at the selected index (starting at 0) or at the end.Add a checkbox at the selected index (starting at 0) or at the end.Add a submenu at the end.Add a submenu at the selected index (starting at 0).Add a submenu with given name.Add a menu item.Add a menu item at the selected index (starting at 0) or at the end.Add a menu item with given name.Add a menu item at the selected index (starting at 0) or at the end.Add a menu item at the selected index (starting at 0) or at the end.Add a menu item at the selected index (starting at 0) or at the end.Add a menu item at the selected index (starting at 0) or at the end.Add a menu item at the selected index (starting at 0) or at the end.Add a radio button.Add a radiobutton at the selected index (starting at 0) or at the end.Add a radio button with given name.Add a radiobutton at the selected index (starting at 0) or at the end.Add a radiobutton at the selected index (starting at 0) or at the end.Add a radiobutton at the selected index (starting at 0) or at the end.Add a radiobutton at the selected index (starting at 0) or at the end.Add a radiobutton at the selected index (starting at 0) or at the end.voidAdd a radiogroup for radiobuttons.voidAdd the separator at the selected index (starting at 0) or at the end (empty).voidAdd the separator at the selected index (starting at 0) or at the end (empty).Get the checkbox at the selected index (starting at 0).Gets the specified client property for the element based on a key.Get the item at the selected index (starting at 0).Get the number of items in the menu.Retrieve the index of the item by text.Get the submenu at the selected index (starting at 0).Get the radiobutton at the selected index (starting at 0).voidSets the value for the specified element client property key.voidRemove all items from the menu.voidRemove the item(s) at the selected index/indices.voidShow the popup at the mouse coordinates (Smart client only).voidShow the popup based on JSEvent information.voidShow the popup above the specified element.voidShow the popup above the specified element, adding x an y values relative to the element.voidShow the popup at x an y coordinates.

propertyservoy sDetail2100%height:30px2Property DetailscssClassname

cssClass

dessIndent
Get/set the css class of the popup menu. This only works in NGClient
ret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow

functionservoy sDetail2100%height:30px2Methods DetailsaddCheckBoxname

addCheckBox()

dessIndent
Add a checkbox.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowaddCheckBoxname

addCheckBox(index)

dessIndent
Add a checkbox at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentindexthe index at which to add the checkbox
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(name)

dessIndent
Add a checkbox with given name.
prs

Parameters

sIndentnamethe checkbox text; this can be also html if enclosed between html tags
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(name, feedback_item)

dessIndent
Add a checkbox at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe checkbox text; this can be also html if enclosed between html tagsfeedback_itemthe feedback function
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(name, feedback_item, icon)

dessIndent
Add a checkbox at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe checkbox text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe checkbox icon (can be an image URL or the image content byte array)
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(name, feedback_item, icon, mnemonic)

dessIndent
Add a checkbox at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe checkbox text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe checkbox icon (can be an image URL or the image content byte array)mnemonicthe checkbox mnemonic
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(name, feedback_item, icon, mnemonic, enabled)

dessIndent
Add a checkbox at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe checkbox text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe checkbox icon (can be an image URL or the image content byte array)mnemonicthe checkbox mnemonicenabledthe enabled state of the checkbox
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(name, feedback_item, icon, mnemonic, enabled, align)

dessIndent
Add a checkbox at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe checkbox text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe checkbox icon (can be an image URL or the image content byte array)mnemonicthe checkbox mnemonicenabledthe enabled state of the checkboxalignthe alignment type
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuname

addMenu()

dessIndent
Add a submenu at the end.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuname

addMenu(index)

dessIndent
Add a submenu at the selected index (starting at 0).
prs

Parameters

sIndentindexthe index at which to add the submenu
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuname

addMenu(name)

dessIndent
Add a submenu with given name.
prs

Parameters

sIndentnamethe text of the submenu; this can be also html if enclosed between html tags
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem()

dessIndent
Add a menu item.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(index)

dessIndent
Add a menu item at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentindexthe index at which to add the menu item
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(name)

dessIndent
Add a menu item with given name.
prs

Parameters

sIndentnamethe menu item text; this can be also html if enclosed between html tags
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(name, feedback_item)

dessIndent
Add a menu item at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe menu item text; this can be also html if enclosed between html tagsfeedback_itemthe feedback function
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(name, feedback_item, icon)

dessIndent
Add a menu item at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe menu item text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe menu item icon (can be an image URL or the image content byte array)
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(name, feedback_item, icon, mnemonic)

dessIndent
Add a menu item at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe menu item text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe menu item icon (can be an image URL or the image content byte array)mnemonicthe menu item mnemonic
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(name, feedback_item, icon, mnemonic, enabled)

dessIndent
Add a menu item at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe menu item text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe menu item icon (can be an image URL or the image content byte array)mnemonicthe menu item mnemonicenabledthe enabled state of the menu item
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addMenuItemname

addMenuItem(name, feedback_item, icon, mnemonic, enabled, align)

dessIndent
Add a menu item at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe menu item text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe menu item icon (can be an image URL or the image content byte array)mnemonicthe menu item mnemonicenabledthe enabled state of the menu itemalignthe alignment type
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton()

dessIndent
Add a radio button.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(index)

dessIndent
Add a radiobutton at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentindexthe index at which to add the radio button
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(name)

dessIndent
Add a radio button with given name.
prs

Parameters

sIndentnamethe radio button text; this can be also html if enclosed between html tags
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(name, feedback_item)

dessIndent
Add a radiobutton at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe radio button text; this can be also html if enclosed between html tagsfeedback_itemthe feedback function
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(name, feedback_item, icon)

dessIndent
Add a radiobutton at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe radio button text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe radio button icon (can be an image URL or the image content byte array)
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(name, feedback_item, icon, mnemonic)

dessIndent
Add a radiobutton at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe radio button text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe radio button icon (can be an image URL or the image content byte array)mnemonicthe radio button mnemonic
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(name, feedback_item, icon, mnemonic, enabled)

dessIndent
Add a radiobutton at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe radio button text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe radio button icon (can be an image URL or the image content byte array)mnemonicthe radio button mnemonicenabledthe enabled state of radio button
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioButtonname

addRadioButton(name, feedback_item, icon, mnemonic, enabled, align)

dessIndent
Add a radiobutton at the selected index (starting at 0) or at the end.
prs

Parameters

sIndentnamethe radio button text; this can be also html if enclosed between html tagsfeedback_itemthe feedback functioniconthe radio button icon (can be an image URL or the image content byte array)mnemonicthe radio button mnemonicenabledthe enabled state of radio buttonalignthe alignment type
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addRadioGroupname

addRadioGroup()

dessIndent
Add a radiogroup for radiobuttons. A radiogroup groups together all radiobuttons that are added
after the group is added. From all radiobuttons that belong to the same radiogroup only one can be
checked at a time.

If no radiogroup is added, one is created automatically when the first radiobutton is added.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addSeparatorname

addSeparator()

dessIndent
Add the separator at the selected index (starting at 0) or at the end (empty).
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
addSeparatorname

addSeparator(index)

dessIndent
Add the separator at the selected index (starting at 0) or at the end (empty).
prs

Parameters

sIndentindexthe index at which to add the separator
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getCheckBoxname

getCheckBox(index)

dessIndent
Get the checkbox at the selected index (starting at 0).
prs

Parameters

sIndentindex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getClientPropertyname

getClientProperty(key)

dessIndent
Gets the specified client property for the element based on a key.
prs

Parameters

sIndentkey ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getItemname

getItem(index)

dessIndent
Get the item at the selected index (starting at 0).
prs

Parameters

sIndentindex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getItemCountname

getItemCount()

dessIndent
Get the number of items in the menu.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getItemIndexByTextname

getItemIndexByText(text)

dessIndent
Retrieve the index of the item by text.
prs

Parameters

sIndenttext ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getMenuname

getMenu(index)

dessIndent
Get the submenu at the selected index (starting at 0).
prs

Parameters

sIndentindex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getRadioButtonname

getRadioButton(index)

dessIndent
Get the radiobutton at the selected index (starting at 0).
prs

Parameters

sIndentindex ;
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
putClientPropertyname

putClientProperty(key, value)

dessIndent
Sets the value for the specified element client property key.
prs

Parameters

sIndentkey ;value ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
removeAllItemsname

removeAllItems()

dessIndent
Remove all items from the menu.
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
removeItemname

removeItem(index)

dessIndent
Remove the item(s) at the selected index/indices.
prs

Parameters

sIndentindexarray of one or moe indexes corresponding to items to remove
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
showname

show()

dessIndent
Show the popup at the mouse coordinates (Smart client only).
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
showname

show(jsEvent)

dessIndent
Show the popup based on JSEvent information. This can be used to show popup in tableview header that is styled with labelfor label.
prs

Parameters

sIndentjsEvent ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
showname

show(component)

dessIndent
Show the popup above the specified element. In NGClient, using a component from tableview/listview form doesn't work, you have to specify coordinates (from JSEvent).
prs

Parameters

sIndentcomponent ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
showname

show(component, x, y)

dessIndent
Show the popup above the specified element, adding x an y values relative to the element.
prs

Parameters

sIndentcomponent ;x ;y ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
showname

show(x, y)

dessIndent
Show the popup at x an y coordinates.
prs

Parameters

sIndentx ;y ;
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow