Ribbon with tabs attached to layout cell?


#1

Can a ribbon with tabs
eg: https://dhtmlx.com/docs/products/dhtmlxRibbon/samples/02_tab/01_init_from_object.html

be attached to a layout cell?


#2

Please, try to use the following format:
http://snippet.dhtmlx.com/a3d2cf940


#3

…moved to correct form entry…


#4

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"},
                    ]
                }
            ]