setActiveSheet()
Description
Sets the active sheet by its id
Usage
setActiveSheet(id: string): void;
Parameters
id
- (required) the id of a sheet
Example
const spreadsheet = new dhx.Spreadsheet("spreadsheet", {});
spreadsheet.parse(data);
// sets the active sheet by the specified id
spreadsheet.setActiveSheet("u1636003130922");
Change log: Added in v4.2
Related articles: Setting active sheet
Related sample: Spreadsheet. Set active sheet