I have two datatable which are getting created dynamically depending on certain conditions.The first datatable will have 3 to 4 columns and the second one will have 5-6 columns. Again depending on a richselect value, the datatable gets displayed to the user.If the user selects Datatable1 from the richselect, first datatable gets displayed while on selection of Datatable2 value , second datatable is displayed.The problem is that if the user switches the dropdown value from datatable to datatable2 or vice versa, webix is throwing error (cannot get column of undefined) even though I am refreshing the columns as well as datatable whenever the datatable is going to be changed.
Can you please provide a solution?
Thanks