jspreadsheet 8.7.9 → 8.7.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -2
- package/dist/index.js +408 -408
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -23,6 +23,9 @@ declare namespace jspreadsheet {
|
|
|
23
23
|
/** Set extensions to the JSS spreadsheet. Example { formula, parser, render } */
|
|
24
24
|
function setExtensions(extensions: object) : void
|
|
25
25
|
|
|
26
|
+
/** Destroy the spreadsheet. Full destroy will clear all JSS controllers and it is not possible to re-create a new spreadsheet if true is used, until refresh the page. */
|
|
27
|
+
function destroy(element: HTMLElement, fullDestroy?: boolean) : void;
|
|
28
|
+
|
|
26
29
|
/** License string */
|
|
27
30
|
let license: string;
|
|
28
31
|
|
|
@@ -941,8 +944,8 @@ declare namespace jspreadsheet {
|
|
|
941
944
|
setFooterValue: (col: number, row: number, value: any) => void;
|
|
942
945
|
/** Freeze x number of columns */
|
|
943
946
|
setFreezeColumns: (num: number) => void;
|
|
944
|
-
/** Set the header title */
|
|
945
|
-
setHeader: (x: number, title
|
|
947
|
+
/** Set the header title. Empty to reset to the default header value. */
|
|
948
|
+
setHeader: (x: number, title?: String) => void;
|
|
946
949
|
/** Set the height of one row by its position */
|
|
947
950
|
setHeight: (row: number, width: number) => void;
|
|
948
951
|
/** Get the merged cells. Cellname: A1, A2, etc */
|