[bug report] two datatables in multiview sometimes give zero-width datatable when navigating

See: http://webix.com/snippet/22eb684e . This is an AngularJS example.

If you click on a row in the first datatable, the second datatable is now blank (because it is zero-width). If you remove the webix-ui property then it displays correctly. Should the blank webix-ui attribute work here? It certainly works if you add a datatable outside multiview.

I have what I think is a related problem in my production application, except the issue is on going back to the first datatable from the second (detail) screen (and I don’t have any blank webix-ui attributes). I couldn’t reproduce that particular configuration but I think it is the same problem.

When you are adding the webix-ui attribute - there wil be a separate UI block started from that point. It means that top level UI and sub UI will not be able to negotiate sizing. So in your case the second datatable has not fixed width defined and in the same time it doesn’t linked to the parent UI - as result it gets the zero width.

Without webix-ui
http://webix.com/snippet/45fed8b1

With webix-ui and fixed width defined
http://webix.com/snippet/249df672