Accordion in Tabview

A basic miss on my part I am sure, but how would I use a variable to place an accordion inside a tabview?

See this snippet: http://webix.com/snippet/1559459f

I would like to use the var “test1” to define the accordion view to go within the tab, rather than having the accordion defined inline as it is now for Tab B.

Thanks

You can add your “test1” view the same way as it done for the webix.ui:

{
    header : "Tab B",
    body:test1
}

http://webix.com/snippet/ca76b69b

I have same problem with this.
When I click the accordion header on second times, all accordion panel reflected to collapsed, how can I configuring to keep all my panel expand ? only clicked header to be toggle.
I’ve tested without tabview work normally.

The ui.accordinon have three modes for expanding/collapsing panels. Just set the correspondingmulti:"mixed" property:

https://webix.com/snippet/9f83f974

The default mode for switching panels ismulti:false. However, it doesn’t affect the initial appearance, so only the panels that have collapsed:true attribute will be collapsed after the init.