jspreadsheet 11.22.2 → 11.23.0
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 +12 -8
- package/dist/index.js +578 -584
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1117,6 +1117,10 @@ declare namespace jspreadsheet {
|
|
|
1117
1117
|
onresetstyle?: (worksheet: worksheetInstance, cellNames: string[]) => void;
|
|
1118
1118
|
/** Fire when a validation is created, changed or removed. */
|
|
1119
1119
|
onvalidation?: (worksheet: worksheetInstance, records: { index: number, value: Validation | null, oldValue: Validation | null }[]) => void;
|
|
1120
|
+
/** Freeze columns */
|
|
1121
|
+
onfreezecolumns?: (worksheet: worksheetInstance, columns: number[]) => void;
|
|
1122
|
+
/** Freeze columns */
|
|
1123
|
+
onfreezerows?: (worksheet: worksheetInstance, rows: number[]) => void;
|
|
1120
1124
|
/** Return false to cancel the contextMenu event, or return custom elements for the contextmenu. */
|
|
1121
1125
|
contextMenu?: Contextmenu | null;
|
|
1122
1126
|
/** About information */
|
|
@@ -1893,20 +1897,20 @@ declare namespace jspreadsheet {
|
|
|
1893
1897
|
getRowGroup: () => Record<number, { group: number, state: boolean }>;
|
|
1894
1898
|
/** Create a new group of rows */
|
|
1895
1899
|
setRowGroup: (row: number, numOfItems?: number, state?: boolean, ignoreHistory?: boolean) => void;
|
|
1896
|
-
/** Open a new group of rows */
|
|
1897
|
-
openRowGroup: (row
|
|
1898
|
-
/** Close a new group of rows */
|
|
1899
|
-
closeRowGroup: (row
|
|
1900
|
+
/** Open a new group of rows or all rows */
|
|
1901
|
+
openRowGroup: (row?: number|number[]) => void;
|
|
1902
|
+
/** Close a new group of rows or all rows */
|
|
1903
|
+
closeRowGroup: (row?: number|number[]) => void;
|
|
1900
1904
|
/** Reset a group of rows */
|
|
1901
1905
|
resetRowGroup: (row: number) => void;
|
|
1902
1906
|
/** Get all group of columns */
|
|
1903
1907
|
getColumnGroup: () => Record<number, { group: number, state: boolean }>;
|
|
1904
1908
|
/** Create a new group of columns */
|
|
1905
1909
|
setColumnGroup: (column: number, numOfItems?: number, state?: boolean, ignoreHistory?: boolean) => void;
|
|
1906
|
-
/** Open a new group of columns */
|
|
1907
|
-
openColumnGroup: (column
|
|
1908
|
-
/** Close a new group of columns */
|
|
1909
|
-
closeColumnGroup: (column
|
|
1910
|
+
/** Open a new group of columns or all groups */
|
|
1911
|
+
openColumnGroup: (column?: number|number[]) => void;
|
|
1912
|
+
/** Close a new group of columns or all groups */
|
|
1913
|
+
closeColumnGroup: (column?: number|number[]) => void;
|
|
1910
1914
|
/** Reset a group of columns */
|
|
1911
1915
|
resetColumnGroup: (column: number) => void;
|
|
1912
1916
|
/** Aliases for jspreadsheet.helpers. Tools to handle spreadsheet data */
|