sc_appmenu_update_item("Menu_Name", "Id_Item", "Id_Parent", "Label", "Aplication", "Parameters", "Icon", "Hint", "Target")
|
|
Updates an application menu item dynamically
It is only possible to use this macro when there is an array created before by the macro sc_appmenu_create.
It is only possible to use this macro on items created before by the macro sc_appmenu_add_item.
| Parameter |
Description |
| menu_name |
Application menu item name |
| id_item |
Application menu item id |
| id_parent |
Application menu item parent id. For roots, the null/empty value is passed. |
| Label |
Application menu item description. |
| Application |
Menu item URL or application name |
| Parameters |
String with a parameter to pass to the application menu item Ex.: param1=valor;param2=valor |
| Icon |
Icon path used in the menu item. |
| Hint |
Descriptive Hint for the menu item. |
| Target |
The target for menu item link |
Ex. 1: sc_appmenu_update_item('menu_main','item_2','item_1','Category Form','form_category');
|
Macro Scope
|
Menu application
|
Responsive Menu
|
Tree menu
|
allMacros onApplicationInit onLoad
|
onApplicationInit onLoad
|
allMacros onApplicationInit onLoad
|
|