jspreadsheet 11.18.8 → 11.20.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 +5 -1
- package/dist/index.js +575 -573
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -940,8 +940,10 @@ declare namespace jspreadsheet {
|
|
|
940
940
|
onerror?: (spreadsheet: spreadsheetInstance, result: object) => void;
|
|
941
941
|
/** Before a column value is changed. NOTE: It is possible to overwrite the original value, by return a new value on this method. */
|
|
942
942
|
onbeforechange?: (worksheet: worksheetInstance, cell: HTMLElement, x: number | string, y: number | string, value: any) => false | any | undefined;
|
|
943
|
-
/** After a
|
|
943
|
+
/** After a cell value is changed. */
|
|
944
944
|
onchange?: (worksheet: worksheetInstance, cell: HTMLElement, x: number | string, y: number | string, newValue: any, oldValue: any) => void;
|
|
945
|
+
/** After a cell value is rendered */
|
|
946
|
+
onrender?: (worksheet: worksheetInstance, cell: HTMLElement, x: number | string, y: number | string, newValue: any, options: Column) => void;
|
|
945
947
|
/** When all data have been updated. Origin: 'paste', 'handle-fill' or undefined */
|
|
946
948
|
onafterchanges?: (worksheet: worksheetInstance, records: Record<string, any>[], origin: string | undefined) => void;
|
|
947
949
|
/** When a copy is performed in the spreadsheet. Any string returned will overwrite the user data or return null to progress with the default behavior. */
|
|
@@ -1137,6 +1139,8 @@ declare namespace jspreadsheet {
|
|
|
1137
1139
|
persistence?: (worksheet: worksheetInstance, method: string, args: object) => void;
|
|
1138
1140
|
/** Create a selection during the openWorksheet. Default: true */
|
|
1139
1141
|
autoSelect?: boolean;
|
|
1142
|
+
/** Assign a guid to the row Id when that is not provided. Default: false */
|
|
1143
|
+
autoId?: boolean;
|
|
1140
1144
|
}
|
|
1141
1145
|
|
|
1142
1146
|
interface Worksheet {
|