I have defined the splitter panes with data attributes as showed in Dimo's example. My aim is to dinamically create, after button click, a splitter pane div and then initialized the splitter. I need collapsible panes which are not by the default.
This code works only on first click. On following clicks the div and panes list are correctly updated but not the splitter.
Alternatively there is any way to set collapsible panes as default?