I want to update the contents of a tabview dynamically.
For example I have 2 tabs in a UI -
tab1 -It has a datatable,
tab2 - It is blank
Now I want to add some buttons and datatable to tab2’s body when a user clicks the tab.
Do you know is there any function by which I can update the content of tab body?
Helga
2
Hi, you can rebuild the content of the 2nd tab with the help of webix.ui()
function. Read more about such use case in the documentation.
Basically, you replace “empty” view, spacer, with the new layout.
Check the snippet, please: http://webix.com/snippet/a4d907bf
Perfect, thank you so much Helga!