Skip to content

clearAll

removes all items from the component

function clearAll(
// optional, if set to true allows preserving some parameters of a data view
soft?: boolean
): void
datagrid.clearAll();

also check the next samples: