{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[CheckBox]{td}{td}[#addCheckBox]\(index)
Add the Checkbox at the selected index (starting at 0) or add it at the end (empty).{td}{tr}{tbody}{tbody}{tr}{td}[MenuItem]{td}{td}[#addItem]\(index)
Add the item at the selected index (starting at 0) or add it at the end (empty).{td}{tr}{tbody}{tbody}{tr}{td}[RadioButton]{td}{td}[#addRadioButton]\(index)
Add the Radiobutton at the selected index (starting at 0) or add it at the end (empty).{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#addRadioGroup]\()
Add a Radiogroup for the Radiobuttons.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#addSeparator]\(index)
Add the separator at the selected index (starting at 0) or add it at the end (empty).{td}{tr}{tbody}{tbody}{tr}{td}[Menu]{td}{td}[#addSubMenu]\(index)
Add the submenu at the selected index (starting at 0) or add it at the end (empty).{td}{tr}{tbody}{tbody}{tr}{td}[CheckBox]{td}{td}[#getCheckBox]\(index)
Get the Checkbox at the selected index (starting at 0).{td}{tr}{tbody}{tbody}{tr}{td}[MenuItem]{td}{td}[#getItem]\(index)
Get the item at the selected index (starting at 0).{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getItemCount]\()
Get the number of items in the popup.{td}{tr}{tbody}{tbody}{tr}{td}[RadioButton]{td}{td}[#getRadioButton]\(index)
Get the Radiobutton at the selected index (starting at 0).{td}{tr}{tbody}{tbody}{tr}{td}[Menu]{td}{td}[#getSubMenu]\(index)
Get the submenu at the selected index (starting at 0).{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#removeAllItems]\()
Remove all items from the popup.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#removeItem]\(index 1, index 2-n)
Remove the item(s) at the selected index/indices.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#show]\(element, x, y)
Show the popup below the element or add x an y values relative to the element.{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=D1E5E505-87C7-40C0-A62E-D32DA99FED12}{tr:id=name}{td}h6.addCheckBox{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[CheckBox]{span}{span:id=iets|style=float: left; font-weight: bold;}addCheckBox{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:D1E5E505-87C7-40C0-A62E-D32DA99FED12_des|text=|trigger=button}{sub-section}{sub-section:D1E5E505-87C7-40C0-A62E-D32DA99FED12_des|trigger=none|class=sIndent}Add the Checkbox at the selected index (starting at 0) or add it at the end (empty)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:D1E5E505-87C7-40C0-A62E-D32DA99FED12_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:D1E5E505-87C7-40C0-A62E-D32DA99FED12_prs|trigger=none}\[index\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:D1E5E505-87C7-40C0-A62E-D32DA99FED12_ret|text=|trigger=button}{sub-section}{sub-section:D1E5E505-87C7-40C0-A62E-D32DA99FED12_ret|trigger=none|class=sIndent}[CheckBox]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:D1E5E505-87C7-40C0-A62E-D32DA99FED12_see|text=|trigger=button}{sub-section}{sub-section:D1E5E505-87C7-40C0-A62E-D32DA99FED12_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:D1E5E505-87C7-40C0-A62E-D32DA99FED12_see|text=|trigger=button}{sub-section}{sub-section:D1E5E505-87C7-40C0-A62E-D32DA99FED12_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:D1E5E505-87C7-40C0-A62E-D32DA99FED12_sam|text=|trigger=button}{sub-section}{sub-section:D1E5E505-87C7-40C0-A62E-D32DA99FED12_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=2681E395-CF4D-4C52-A142-1A567CF54FCA}{tr:id=name}{td}h6.addItem{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[MenuItem]{span}{span:id=iets|style=float: left; font-weight: bold;}addItem{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:2681E395-CF4D-4C52-A142-1A567CF54FCA_des|text=|trigger=button}{sub-section}{sub-section:2681E395-CF4D-4C52-A142-1A567CF54FCA_des|trigger=none|class=sIndent}Add the item at the selected index (starting at 0) or add it at the end (empty)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:2681E395-CF4D-4C52-A142-1A567CF54FCA_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:2681E395-CF4D-4C52-A142-1A567CF54FCA_prs|trigger=none}\[index\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:2681E395-CF4D-4C52-A142-1A567CF54FCA_ret|text=|trigger=button}{sub-section}{sub-section:2681E395-CF4D-4C52-A142-1A567CF54FCA_ret|trigger=none|class=sIndent}[MenuItem]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:2681E395-CF4D-4C52-A142-1A567CF54FCA_see|text=|trigger=button}{sub-section}{sub-section:2681E395-CF4D-4C52-A142-1A567CF54FCA_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:2681E395-CF4D-4C52-A142-1A567CF54FCA_see|text=|trigger=button}{sub-section}{sub-section:2681E395-CF4D-4C52-A142-1A567CF54FCA_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:2681E395-CF4D-4C52-A142-1A567CF54FCA_sam|text=|trigger=button}{sub-section}{sub-section:2681E395-CF4D-4C52-A142-1A567CF54FCA_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=3F7AC032-BCD1-4261-AD69-44E9D7FC4C68}{tr:id=name}{td}h6.addRadioButton{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[RadioButton]{span}{span:id=iets|style=float: left; font-weight: bold;}addRadioButton{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:3F7AC032-BCD1-4261-AD69-44E9D7FC4C68_des|text=|trigger=button}{sub-section}{sub-section:3F7AC032-BCD1-4261-AD69-44E9D7FC4C68_des|trigger=none|class=sIndent}Add the Radiobutton at the selected index (starting at 0) or add it at the end (empty)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:3F7AC032-BCD1-4261-AD69-44E9D7FC4C68_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:3F7AC032-BCD1-4261-AD69-44E9D7FC4C68_prs|trigger=none}\[index\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:3F7AC032-BCD1-4261-AD69-44E9D7FC4C68_ret|text=|trigger=button}{sub-section}{sub-section:3F7AC032-BCD1-4261-AD69-44E9D7FC4C68_ret|trigger=none|class=sIndent}[RadioButton]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:3F7AC032-BCD1-4261-AD69-44E9D7FC4C68_see|text=|trigger=button}{sub-section}{sub-section:3F7AC032-BCD1-4261-AD69-44E9D7FC4C68_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:3F7AC032-BCD1-4261-AD69-44E9D7FC4C68_see|text=|trigger=button}{sub-section}{sub-section:3F7AC032-BCD1-4261-AD69-44E9D7FC4C68_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:3F7AC032-BCD1-4261-AD69-44E9D7FC4C68_sam|text=|trigger=button}{sub-section}{sub-section:3F7AC032-BCD1-4261-AD69-44E9D7FC4C68_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=C02A46DF-B5AE-4D84-BABC-117EAD6A7822}{tr:id=name}{td}h6.addRadioGroup{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}addRadioGroup{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:C02A46DF-B5AE-4D84-BABC-117EAD6A7822_des|text=|trigger=button}{sub-section}{sub-section:C02A46DF-B5AE-4D84-BABC-117EAD6A7822_des|trigger=none|class=sIndent}Add a Radiogroup for the Radiobuttons...{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:C02A46DF-B5AE-4D84-BABC-117EAD6A7822_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:C02A46DF-B5AE-4D84-BABC-117EAD6A7822_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:C02A46DF-B5AE-4D84-BABC-117EAD6A7822_ret|text=|trigger=button}{sub-section}{sub-section:C02A46DF-B5AE-4D84-BABC-117EAD6A7822_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:C02A46DF-B5AE-4D84-BABC-117EAD6A7822_see|text=|trigger=button}{sub-section}{sub-section:C02A46DF-B5AE-4D84-BABC-117EAD6A7822_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:C02A46DF-B5AE-4D84-BABC-117EAD6A7822_see|text=|trigger=button}{sub-section}{sub-section:C02A46DF-B5AE-4D84-BABC-117EAD6A7822_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:C02A46DF-B5AE-4D84-BABC-117EAD6A7822_sam|text=|trigger=button}{sub-section}{sub-section:C02A46DF-B5AE-4D84-BABC-117EAD6A7822_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=2AE30805-20F7-4D5A-9626-7589D831715D}{tr:id=name}{td}h6.addSeparator{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}addSeparator{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:2AE30805-20F7-4D5A-9626-7589D831715D_des|text=|trigger=button}{sub-section}{sub-section:2AE30805-20F7-4D5A-9626-7589D831715D_des|trigger=none|class=sIndent}Add the separator at the selected index (starting at 0) or add it at the end (empty)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:2AE30805-20F7-4D5A-9626-7589D831715D_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:2AE30805-20F7-4D5A-9626-7589D831715D_prs|trigger=none}\[index\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:2AE30805-20F7-4D5A-9626-7589D831715D_ret|text=|trigger=button}{sub-section}{sub-section:2AE30805-20F7-4D5A-9626-7589D831715D_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:2AE30805-20F7-4D5A-9626-7589D831715D_see|text=|trigger=button}{sub-section}{sub-section:2AE30805-20F7-4D5A-9626-7589D831715D_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:2AE30805-20F7-4D5A-9626-7589D831715D_see|text=|trigger=button}{sub-section}{sub-section:2AE30805-20F7-4D5A-9626-7589D831715D_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:2AE30805-20F7-4D5A-9626-7589D831715D_sam|text=|trigger=button}{sub-section}{sub-section:2AE30805-20F7-4D5A-9626-7589D831715D_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=82303A09-3A04-4AB9-A454-5FFFA1A1B1DD}{tr:id=name}{td}h6.addSubMenu{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Menu]{span}{span:id=iets|style=float: left; font-weight: bold;}addSubMenu{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:82303A09-3A04-4AB9-A454-5FFFA1A1B1DD_des|text=|trigger=button}{sub-section}{sub-section:82303A09-3A04-4AB9-A454-5FFFA1A1B1DD_des|trigger=none|class=sIndent}Add the submenu at the selected index (starting at 0) or add it at the end (empty)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:82303A09-3A04-4AB9-A454-5FFFA1A1B1DD_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:82303A09-3A04-4AB9-A454-5FFFA1A1B1DD_prs|trigger=none}\[index\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:82303A09-3A04-4AB9-A454-5FFFA1A1B1DD_ret|text=|trigger=button}{sub-section}{sub-section:82303A09-3A04-4AB9-A454-5FFFA1A1B1DD_ret|trigger=none|class=sIndent}[Menu]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:82303A09-3A04-4AB9-A454-5FFFA1A1B1DD_see|text=|trigger=button}{sub-section}{sub-section:82303A09-3A04-4AB9-A454-5FFFA1A1B1DD_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:82303A09-3A04-4AB9-A454-5FFFA1A1B1DD_see|text=|trigger=button}{sub-section}{sub-section:82303A09-3A04-4AB9-A454-5FFFA1A1B1DD_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:82303A09-3A04-4AB9-A454-5FFFA1A1B1DD_sam|text=|trigger=button}{sub-section}{sub-section:82303A09-3A04-4AB9-A454-5FFFA1A1B1DD_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=B00CA1EC-65A0-4D4F-B14A-FA3AA03BDB08}{tr:id=name}{td}h6.getCheckBox{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[CheckBox]{span}{span:id=iets|style=float: left; font-weight: bold;}getCheckBox{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:B00CA1EC-65A0-4D4F-B14A-FA3AA03BDB08_des|text=|trigger=button}{sub-section}{sub-section:B00CA1EC-65A0-4D4F-B14A-FA3AA03BDB08_des|trigger=none|class=sIndent}Get the Checkbox at the selected index (starting at 0)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:B00CA1EC-65A0-4D4F-B14A-FA3AA03BDB08_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:B00CA1EC-65A0-4D4F-B14A-FA3AA03BDB08_prs|trigger=none}index
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:B00CA1EC-65A0-4D4F-B14A-FA3AA03BDB08_ret|text=|trigger=button}{sub-section}{sub-section:B00CA1EC-65A0-4D4F-B14A-FA3AA03BDB08_ret|trigger=none|class=sIndent}[CheckBox]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:B00CA1EC-65A0-4D4F-B14A-FA3AA03BDB08_see|text=|trigger=button}{sub-section}{sub-section:B00CA1EC-65A0-4D4F-B14A-FA3AA03BDB08_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:B00CA1EC-65A0-4D4F-B14A-FA3AA03BDB08_see|text=|trigger=button}{sub-section}{sub-section:B00CA1EC-65A0-4D4F-B14A-FA3AA03BDB08_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:B00CA1EC-65A0-4D4F-B14A-FA3AA03BDB08_sam|text=|trigger=button}{sub-section}{sub-section:B00CA1EC-65A0-4D4F-B14A-FA3AA03BDB08_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DAADD6EF-26D4-47C2-A767-6B46DEA9432C}{tr:id=name}{td}h6.getItem{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[MenuItem]{span}{span:id=iets|style=float: left; font-weight: bold;}getItem{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:DAADD6EF-26D4-47C2-A767-6B46DEA9432C_des|text=|trigger=button}{sub-section}{sub-section:DAADD6EF-26D4-47C2-A767-6B46DEA9432C_des|trigger=none|class=sIndent}Get the item at the selected index (starting at 0)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:DAADD6EF-26D4-47C2-A767-6B46DEA9432C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DAADD6EF-26D4-47C2-A767-6B46DEA9432C_prs|trigger=none}index
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:DAADD6EF-26D4-47C2-A767-6B46DEA9432C_ret|text=|trigger=button}{sub-section}{sub-section:DAADD6EF-26D4-47C2-A767-6B46DEA9432C_ret|trigger=none|class=sIndent}[MenuItem]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DAADD6EF-26D4-47C2-A767-6B46DEA9432C_see|text=|trigger=button}{sub-section}{sub-section:DAADD6EF-26D4-47C2-A767-6B46DEA9432C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DAADD6EF-26D4-47C2-A767-6B46DEA9432C_see|text=|trigger=button}{sub-section}{sub-section:DAADD6EF-26D4-47C2-A767-6B46DEA9432C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DAADD6EF-26D4-47C2-A767-6B46DEA9432C_sam|text=|trigger=button}{sub-section}{sub-section:DAADD6EF-26D4-47C2-A767-6B46DEA9432C_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=C36EBC84-B4D4-4312-9493-5A583459B414}{tr:id=name}{td}h6.getItemCount{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getItemCount{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:C36EBC84-B4D4-4312-9493-5A583459B414_des|text=|trigger=button}{sub-section}{sub-section:C36EBC84-B4D4-4312-9493-5A583459B414_des|trigger=none|class=sIndent}Get the number of items in the popup...{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:C36EBC84-B4D4-4312-9493-5A583459B414_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:C36EBC84-B4D4-4312-9493-5A583459B414_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:C36EBC84-B4D4-4312-9493-5A583459B414_ret|text=|trigger=button}{sub-section}{sub-section:C36EBC84-B4D4-4312-9493-5A583459B414_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:C36EBC84-B4D4-4312-9493-5A583459B414_see|text=|trigger=button}{sub-section}{sub-section:C36EBC84-B4D4-4312-9493-5A583459B414_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:C36EBC84-B4D4-4312-9493-5A583459B414_see|text=|trigger=button}{sub-section}{sub-section:C36EBC84-B4D4-4312-9493-5A583459B414_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:C36EBC84-B4D4-4312-9493-5A583459B414_sam|text=|trigger=button}{sub-section}{sub-section:C36EBC84-B4D4-4312-9493-5A583459B414_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=D71A1A9B-1D65-4C5C-99C5-AEF7CADCF660}{tr:id=name}{td}h6.getRadioButton{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[RadioButton]{span}{span:id=iets|style=float: left; font-weight: bold;}getRadioButton{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:D71A1A9B-1D65-4C5C-99C5-AEF7CADCF660_des|text=|trigger=button}{sub-section}{sub-section:D71A1A9B-1D65-4C5C-99C5-AEF7CADCF660_des|trigger=none|class=sIndent}Get the Radiobutton at the selected index (starting at 0)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:D71A1A9B-1D65-4C5C-99C5-AEF7CADCF660_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:D71A1A9B-1D65-4C5C-99C5-AEF7CADCF660_prs|trigger=none}index
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:D71A1A9B-1D65-4C5C-99C5-AEF7CADCF660_ret|text=|trigger=button}{sub-section}{sub-section:D71A1A9B-1D65-4C5C-99C5-AEF7CADCF660_ret|trigger=none|class=sIndent}[RadioButton]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:D71A1A9B-1D65-4C5C-99C5-AEF7CADCF660_see|text=|trigger=button}{sub-section}{sub-section:D71A1A9B-1D65-4C5C-99C5-AEF7CADCF660_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:D71A1A9B-1D65-4C5C-99C5-AEF7CADCF660_see|text=|trigger=button}{sub-section}{sub-section:D71A1A9B-1D65-4C5C-99C5-AEF7CADCF660_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:D71A1A9B-1D65-4C5C-99C5-AEF7CADCF660_sam|text=|trigger=button}{sub-section}{sub-section:D71A1A9B-1D65-4C5C-99C5-AEF7CADCF660_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=AD98D21E-B7C0-4C36-8A46-D27433F904C3}{tr:id=name}{td}h6.getSubMenu{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Menu]{span}{span:id=iets|style=float: left; font-weight: bold;}getSubMenu{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:AD98D21E-B7C0-4C36-8A46-D27433F904C3_des|text=|trigger=button}{sub-section}{sub-section:AD98D21E-B7C0-4C36-8A46-D27433F904C3_des|trigger=none|class=sIndent}Get the submenu at the selected index (starting at 0)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:AD98D21E-B7C0-4C36-8A46-D27433F904C3_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:AD98D21E-B7C0-4C36-8A46-D27433F904C3_prs|trigger=none}index
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:AD98D21E-B7C0-4C36-8A46-D27433F904C3_ret|text=|trigger=button}{sub-section}{sub-section:AD98D21E-B7C0-4C36-8A46-D27433F904C3_ret|trigger=none|class=sIndent}[Menu]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:AD98D21E-B7C0-4C36-8A46-D27433F904C3_see|text=|trigger=button}{sub-section}{sub-section:AD98D21E-B7C0-4C36-8A46-D27433F904C3_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:AD98D21E-B7C0-4C36-8A46-D27433F904C3_see|text=|trigger=button}{sub-section}{sub-section:AD98D21E-B7C0-4C36-8A46-D27433F904C3_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:AD98D21E-B7C0-4C36-8A46-D27433F904C3_sam|text=|trigger=button}{sub-section}{sub-section:AD98D21E-B7C0-4C36-8A46-D27433F904C3_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=87096E5A-9D32-47B0-95FB-AA6C774B5C5C}{tr:id=name}{td}h6.removeAllItems{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}removeAllItems{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:87096E5A-9D32-47B0-95FB-AA6C774B5C5C_des|text=|trigger=button}{sub-section}{sub-section:87096E5A-9D32-47B0-95FB-AA6C774B5C5C_des|trigger=none|class=sIndent}Remove all items from the popup...{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:87096E5A-9D32-47B0-95FB-AA6C774B5C5C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:87096E5A-9D32-47B0-95FB-AA6C774B5C5C_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:87096E5A-9D32-47B0-95FB-AA6C774B5C5C_ret|text=|trigger=button}{sub-section}{sub-section:87096E5A-9D32-47B0-95FB-AA6C774B5C5C_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:87096E5A-9D32-47B0-95FB-AA6C774B5C5C_see|text=|trigger=button}{sub-section}{sub-section:87096E5A-9D32-47B0-95FB-AA6C774B5C5C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:87096E5A-9D32-47B0-95FB-AA6C774B5C5C_see|text=|trigger=button}{sub-section}{sub-section:87096E5A-9D32-47B0-95FB-AA6C774B5C5C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:87096E5A-9D32-47B0-95FB-AA6C774B5C5C_sam|text=|trigger=button}{sub-section}{sub-section:87096E5A-9D32-47B0-95FB-AA6C774B5C5C_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=C55705CC-F587-49DB-BFC9-27A66535FC5B}{tr:id=name}{td}h6.removeItem{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}removeItem{span}{span:id=iets|style=float: left;}\(index 1, index 2-n){span}{td}{tr}{tr:id=des}{td}{sub-section:C55705CC-F587-49DB-BFC9-27A66535FC5B_des|text=|trigger=button}{sub-section}{sub-section:C55705CC-F587-49DB-BFC9-27A66535FC5B_des|trigger=none|class=sIndent}Remove the item(s) at the selected index/indices...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:C55705CC-F587-49DB-BFC9-27A66535FC5B_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:C55705CC-F587-49DB-BFC9-27A66535FC5B_prs|trigger=none}index 1
\[index 2-n\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:C55705CC-F587-49DB-BFC9-27A66535FC5B_ret|text=|trigger=button}{sub-section}{sub-section:C55705CC-F587-49DB-BFC9-27A66535FC5B_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:C55705CC-F587-49DB-BFC9-27A66535FC5B_see|text=|trigger=button}{sub-section}{sub-section:C55705CC-F587-49DB-BFC9-27A66535FC5B_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:C55705CC-F587-49DB-BFC9-27A66535FC5B_see|text=|trigger=button}{sub-section}{sub-section:C55705CC-F587-49DB-BFC9-27A66535FC5B_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:C55705CC-F587-49DB-BFC9-27A66535FC5B_sam|text=|trigger=button}{sub-section}{sub-section:C55705CC-F587-49DB-BFC9-27A66535FC5B_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=0BD47B4F-878E-45D0-9733-EF4B196593E0}{tr:id=name}{td}h6.show{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}show{span}{span:id=iets|style=float: left;}\(element, x, y){span}{td}{tr}{tr:id=des}{td}{sub-section:0BD47B4F-878E-45D0-9733-EF4B196593E0_des|text=|trigger=button}{sub-section}{sub-section:0BD47B4F-878E-45D0-9733-EF4B196593E0_des|trigger=none|class=sIndent}Show the popup below the element or add x an y values relative to the element...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:0BD47B4F-878E-45D0-9733-EF4B196593E0_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:0BD47B4F-878E-45D0-9733-EF4B196593E0_prs|trigger=none}element
\[x\]
\[y\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:0BD47B4F-878E-45D0-9733-EF4B196593E0_ret|text=|trigger=button}{sub-section}{sub-section:0BD47B4F-878E-45D0-9733-EF4B196593E0_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:0BD47B4F-878E-45D0-9733-EF4B196593E0_see|text=|trigger=button}{sub-section}{sub-section:0BD47B4F-878E-45D0-9733-EF4B196593E0_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:0BD47B4F-878E-45D0-9733-EF4B196593E0_see|text=|trigger=button}{sub-section}{sub-section:0BD47B4F-878E-45D0-9733-EF4B196593E0_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:0BD47B4F-878E-45D0-9733-EF4B196593E0_sam|text=|trigger=button}{sub-section}{sub-section:0BD47B4F-878E-45D0-9733-EF4B196593E0_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
return;
// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();
// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same
// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();
// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);
var checkbox = popup.addCheckBox();
checkbox.set("checkbox",feedback);
popup.addRadioGroup();
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 1",feedback);
var radiobutton = popup.addRadioButton();
radiobutton.set("radiobutton 2",feedback);
// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);
// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);
// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);
// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
Cache
index
true
refresh
100d
showRefresh
true
id
doc
title
Refresh page
showDate
true
retry
Enable
servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientservoy 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 below the specified element.voidShow the popup menu according to the positionTop parameter.voidShow the popup below to the specified element, adding x an y values relative to the element.voidShow the popup menu according to the positionTop, x, y parameters.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
Add a checkbox at the selected index (starting at 0) or at the end.
prs
Parameters
sIndentindexthe index at which to add the checkboxret
Returns
sIndent checkboxclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddCheckBoxname
addCheckBox(name)
dessIndent
Add a checkbox with given name.
prs
Parameters
sIndentnamethe checkbox text; this can be also html if enclosed between html tagsret
Returns
sIndent checkboxclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddCheckBoxname
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 functionret
Returns
sIndent checkboxclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddCheckBoxname
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 checkboxclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddCheckBoxname
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 mnemonicret
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 checkboxret
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 typeret
Returns
sIndent checkboxclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddMenuname
addMenu()
dessIndent
Add a submenu at the end.
ret
Returns
sIndent the submenuclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddMenuname
addMenu(index)
dessIndent
Add a submenu at the selected index (starting at 0).
prs
Parameters
sIndentindexthe index at which to add the submenuret
Returns
sIndent the submenuclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddMenuname
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 tagsret
Returns
sIndent the submenuclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddMenuItemname
addMenuItem()
dessIndent
Add a menu item.
ret
Returns
sIndent menu itemclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddMenuItemname
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 itemret
Returns
sIndent menu itemclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddMenuItemname
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 tagsret
Returns
sIndent menu itemclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddMenuItemname
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 functionret
Returns
sIndent menu itemclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddMenuItemname
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 menu itemclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddMenuItemname
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 mnemonicret
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 itemret
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).In NGClient we also support fontawesome class.mnemonicthe menu item mnemonicenabledthe enabled state of the menu itemalignthe alignment typeret
Returns
sIndent menu itemclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddRadioButtonname
addRadioButton()
dessIndent
Add a radio button.
ret
Returns
sIndent a radio button menu itemclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddRadioButtonname
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 buttonret
Returns
sIndent a radio button menu itemclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddRadioButtonname
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 tagsret
Returns
sIndent a radio button menu itemclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddRadioButtonname
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 functionret
Returns
sIndent a radio button menu itemclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddRadioButtonname
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
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 mnemonicret
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 buttonret
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 typeret
Returns
sIndent a radio button menu itemclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddRadioGroupname
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,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddSeparatorname
addSeparator()
dessIndent
Add the separator at the selected index (starting at 0) or at the end (empty).
clients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowaddSeparatorname
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 separatorclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetCheckBoxname
getCheckBox(index)
dessIndent
Get the checkbox at the selected index (starting at 0).
Sets the value for the specified element client property key.
prs
Parameters
sIndentkey ;value ;clients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowremoveAllItemsname
removeAllItems()
dessIndent
Remove all items from the menu.
clients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowremoveItemname
removeItem(index)
dessIndent
Remove the item(s) at the selected index/indices.
prs
Parameters
sIndentindexarray of one or moe indexes corresponding to items to removeclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowshowname
show()
dessIndent
Show the popup at the mouse coordinates (Smart client only).
clients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowshowname
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,NGClientsam
Sample
sIdentjavascriptlastDetailRowshowname
show(component)
dessIndent
Show the popup below the specified element. If there is no available room, the popup is displayed above.
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,NGClientsam
Sample
sIdentjavascriptlastDetailRowshowname
show(component, positionTop)
dessIndent
Show the popup menu according to the positionTop parameter.
By default the popup menu is displayed below the component, and if there is no room available it is displayed above.
If positionTop is true, and there is enough room available, then popup menu is displayed above;
By default, positionTop is false.
If there is not enough space above or under the component, the behavior is undefined (the browser will decide how menu is displayed)
prs
Parameters
sIndentcomponent ;positionTop ;clients
Supported Clients
sIndentNGClientsam
Sample
sIdentjavascriptlastDetailRowshowname
show(component, x, y)
dessIndent
Show the popup below to the specified element, adding x an y values relative to the element.
If there is no available room, the popup is displayed above.
prs
Parameters
sIndentcomponent ;x ;y ;clients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowshowname
show(component, x, y, positionTop)
dessIndent
Show the popup menu according to the positionTop, x, y parameters.
By default the popup menu is show at the x, y coordinates.
If positionTop is true, and there is enough room available, then popup menu's bottom - left corner is ending at the specified coordinates;
x, y values are relative to top-left corner of the component.
By default, positionTop is false.
If there is not enough space above or under the component, the behavior is undefined (the browser will decide how menu is displayed)