You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a layout schema with a left sidebar area and a grid.
I would like to have 2 sidebars (sideBar1,sideBar2) within tabs (w2tabs object) on the left of the grid (the left sidebar area).
Is it possible ?
The code bellow doen't work.
Using version 2.0.
//-------
let layout = new w2layout(layout_config)
let grid = new w2grid(grid_config)
let tabs = new w2tabs(tabs_config)
let sideBar1 = new w2sidebar(sideBar1_config)
let sideBar2 = new w2sidebar(sideBar2_config)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a layout schema with a left sidebar area and a grid.
I would like to have 2 sidebars (sideBar1,sideBar2) within tabs (w2tabs object) on the left of the grid (the left sidebar area).
Is it possible ?
The code bellow doen't work.
Using version 2.0.
//-------
let layout = new w2layout(layout_config)
let grid = new w2grid(grid_config)
let tabs = new w2tabs(tabs_config)
let sideBar1 = new w2sidebar(sideBar1_config)
let sideBar2 = new w2sidebar(sideBar2_config)
layout.render('#w2ui-layout')
tabs.set('1gram', sideBar1)
tabs.set('2gram', sideBar2)
tabs.refresh()
layout.html('left', tabs)
layout.html('main', grid)
Beta Was this translation helpful? Give feedback.
All reactions