Can a ribbon with tabs
eg: Init from object
be attached to a layout cell?
…moved to correct form entry…
It appears that when using tabs, ribbon items must be within blocks or they are not properly positioned.
I changed the ribbon data in your snippet to the following and while tab 2 works, tab 3 does not show any items
tabs: [
{
id: "tab_1",
text: "tab #1",
active: true,
items: []
},
{
id: "tab_2",
text: "tab #2",
items: [
{
type: "block", text: "Block 1", mode: "cols", list: [
{type: "button", text: "copy", img: "18/copy.gif"},
{type: "button", text: "cut", img: "18/cut.gif"},
{type: "button", text: "new", img: "18/new.gif"},
]
}
]
},
{
id: "tab_3",
text: "tab #3",
items: [
{type: "button", text: "copy", img: "18/copy.gif"},
{type: "button", text: "cut", img: "18/cut.gif"},
{type: "button", text: "new", img: "18/new.gif"},
]
}
]
Thank you for your note. We’ll try to fix this problem in the future dhxRibbon update.