jspreadsheet 9.1.24 → 9.1.25
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 +4 -0
- package/dist/index.js +452 -452
- package/dist/jspreadsheet.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -411,6 +411,10 @@ declare namespace jspreadsheet {
|
|
|
411
411
|
onopenworksheet?: (worksheet: worksheetInstance, index: number) => void;
|
|
412
412
|
/** When there is a row id update */
|
|
413
413
|
onchangerowid?: (worksheet: worksheetInstance, rows: []) => void;
|
|
414
|
+
/** Before the search method starts */
|
|
415
|
+
onsearchstart?: (worksheet: worksheetInstance, query: string) => void;
|
|
416
|
+
/** Before the search method starts */
|
|
417
|
+
onsearchsrow?: (worksheet: worksheetInstance, row: number, query: string) => boolean;
|
|
414
418
|
/** Action to be executed before searching. The accepted method return would be: null to continue with the default behavior, false to cancel the user action or an array with the row numbers to overwrite the default result. */
|
|
415
419
|
onbeforesearch?: (worksheet: worksheetInstance, query: string, results: []) => [] | boolean | void;
|
|
416
420
|
/** After the search is applied to the rows. */
|