How to display div(s) on tab selection

I am using Layout in fullscreen 3L mode and a Tabbar in each Layout cell. I have a few tabs in Layout cell A, in which I would like to change div(s) in Layout cell B based on the tab click/selection done in Layout cell A.

So when the page fires up, the first tab is automatically selected in Layout cell A and the associated div is displayed in Layout cell B and when the subsequent tabs are selected in Layout cell A, the respective subsequent divs are displayed in Layout cell B.

I have tried the approach mentioned in post: viewtopic.php?f=4&t=26595 to “onTabClick” but get an error:

:frowning:

Any help is appreciated!

Provide us a completed demo to reproduce your issue
docs.dhtmlx.com/doku.php?id=othe … leted_demo