clearAll

removes all items from the component

void clearAll( [boolean soft] );

Parameters

softbooleanoptional, if set to true allows preserving some parameters of a data view

Example

//"data" is the ID of the dedicated data view   
$$("data").clearAll();

Related samples

Details

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 ui framework and page of javascript tree product.