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