Populate a column on a menu click

Hello all, I’m a newbie here, so please be gentle.

I’ve created a layout a few rows and columns with a menu in the leftmost column. Now, I can pick up the menu item selected but I’m at a loss as to what is the best way to populate another column with content e.g. I click “Details” on the menu so I wish to display the details ‘page’ in another column while ensuring that the previous page is removed.

I’m sure I’m missing something here so you’re help would be appreciated.

You can

a) create a multiview in the second column. Multiview will contain different views and you will be able to show one, based on menu seleciton

b) you can use addView, removeView or webix.ui API to recreate view in the second column

http://docs.webix.com/api__ui.baselayout_addview.html
http://docs.webix.com/desktop__dynamic_layout.html