clear()
Description
Clears a spreadsheet
Usage
clear(): void;
Example
const spreadsheet = new dhx.Spreadsheet("spreadsheet", {});
spreadsheet.parse(data);
// clears a spreadsheet
spreadsheet.clear();
Change log: Added in v4.2
Related articles: Clearing spreadsheet
Related sample: Spreadsheet. Clear