jspreadsheet 9.1.20 → 9.1.21
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 +8 -0
- package/dist/index.js +461 -456
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -211,6 +211,8 @@ declare namespace jspreadsheet {
|
|
|
211
211
|
height?: number;
|
|
212
212
|
/** Row identification. */
|
|
213
213
|
title?: string;
|
|
214
|
+
/** Row identification. */
|
|
215
|
+
visible?: boolean;
|
|
214
216
|
}
|
|
215
217
|
|
|
216
218
|
interface Editor {
|
|
@@ -447,6 +449,10 @@ declare namespace jspreadsheet {
|
|
|
447
449
|
onchangedefinednames?: (worksheet: object, data: []) => void
|
|
448
450
|
/** New char is entered on editor. */
|
|
449
451
|
oninput?: (worksheet: object, event: object) => void
|
|
452
|
+
/** When change the row visibility */
|
|
453
|
+
onchangerowvisibility?: (worksheet: object, state: boolean, rows: []) => void
|
|
454
|
+
/** When change the column visibility */
|
|
455
|
+
onchangecolumnvisibility?: (worksheet: object, state: boolean, columns: []) => void
|
|
450
456
|
/** Run every single table update action. Can bring performance issues if perform too much changes. */
|
|
451
457
|
updateTable?: (worksheet: worksheetInstance, cell: Object, x: number, y: number, value: String) => void;
|
|
452
458
|
/** Return false to cancel the contextMenu event, or return custom elements for the contextmenu. */
|
|
@@ -512,6 +518,8 @@ declare namespace jspreadsheet {
|
|
|
512
518
|
csvDelimiter?: string;
|
|
513
519
|
/** Allow column sorting */
|
|
514
520
|
columnSorting?: boolean;
|
|
521
|
+
/** Sorting the column on dblclick in the header. Default: false*/
|
|
522
|
+
columnSortingOnDblClick?: boolean;
|
|
515
523
|
/** Allow column dragging */
|
|
516
524
|
columnDrag?: boolean;
|
|
517
525
|
/** Allow column resizing */
|