removes all items from the component

void clearAll( [boolean soft] );
softbooleanoptional, if set to true allows preserving some parameters of a data view


//"data" is the ID of the dedicated data view   

Related samples


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.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript web framework and page of javascript custom context menu product.