removes all items from the component
soft | boolean | optional, if set to true allows preserving some parameters of a data view |
//"data" is the ID of the dedicated data view
$$("data").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.