clearAll

removes all items from the component

void clearAll( [boolean soft] );
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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.