I have a menu and a submenu with 3 options but I want to show the option selected in the menu
i.e
{
view: “menu”, width: 80, id: “tipo_docu”,
submenuConfig: {
width: 270,
template: “#value#”
},
data: [
{
id: “1”, value: “ALL”,
submenu: [
{ id: 4, value: "option1" },
{ id: 5, value: "option2" },
{ id: 6, value: "option3" },
]
},
],
on: {
onMenuItemClick: function (id) {
}
},
type: {
subsign: true
}
}
So, if i choose opiton2 i want to change Text of All for option2