Bug: "clearAll" generates an error in treetable if treetable is empty.

Just run on a situation when “treetable.clearAll();” generates an error “Data loading error, check console for details” if the treetable is empty (initial page load).

The temporary fix is to add check for empty data:

		if (treetable.count() != 0) treetable.clearAll();

It works correctly for me
http://webix.com/snippet/36f104e8

Can you share some snippet where issue occurs ?

Will take time to fit all the code into a snippet.
I’ll pm the link to app.