jspreadsheet 11.24.1 → 11.24.2
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 +2 -0
- package/dist/index.js +581 -543
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -946,6 +946,8 @@ declare namespace jspreadsheet {
|
|
|
946
946
|
onchange?: (worksheet: worksheetInstance, cell: HTMLElement, x: number | string, y: number | string, newValue: any, oldValue: any) => void;
|
|
947
947
|
/** After a cell value is rendered */
|
|
948
948
|
onrender?: (worksheet: worksheetInstance, cell: HTMLElement, x: number | string, y: number | string, newValue: any, options: Column) => void;
|
|
949
|
+
/** Before changes have been applied. Origin: 'paste', 'handle-fill' or undefined */
|
|
950
|
+
onbeforechanges?: (worksheet: worksheetInstance, records: Record<string, any>[], origin: string | undefined) => void | boolean | Record<string, any>[];
|
|
949
951
|
/** When all data have been updated. Origin: 'paste', 'handle-fill' or undefined */
|
|
950
952
|
onafterchanges?: (worksheet: worksheetInstance, records: Record<string, any>[], origin: string | undefined) => void;
|
|
951
953
|
/** 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. */
|