removes all items from the component
soft | boolean | optional, if set to true allows preserving some parameters of a data view |
dtable = webix.ui({
view:"datatable",
url:"data.xml"
});
dtable.clearAll();
The soft parameter allows preserving such parameters, as the x-scroll state for DataTable or the url used for dynamic data loading for any data view.