jspreadsheet 11.18.8 → 11.19.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 +3 -1
- package/dist/index.js +571 -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. */
|