But there is a similar layout attached to each one of the tabs (tab_2, tab_3). What should I do? Attach events or run a JS function for each tab? Is there a better way?
that’s correct, in case of tabbar if cell wasn’t active before it ‘uninitialized’ and its dimension is about 0x0, so when you initing layout inside it can’t proberly determine parent size.
Unfortunately I was not able to reproduce your issue locally.
The following snippet based on your provided code works well for me: http://snippet.dhtmlx.com/5/2f503dab8
If the problem still occurs for you please, provide a complete demo or a demo link, where the problem can be reconstructed locally.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan