jspreadsheet 8.0.53 → 8.0.59
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 -4
- package/dist/index.js +544 -536
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -247,10 +247,8 @@ declare namespace jspreadsheet {
|
|
|
247
247
|
sorting?: (direction: boolean, column: number) => number;
|
|
248
248
|
/** Remote URL for the persistence server **/
|
|
249
249
|
server?: string;
|
|
250
|
-
|
|
251
250
|
/** Toolbar */
|
|
252
|
-
toolbar?: boolean | Toolbar;
|
|
253
|
-
|
|
251
|
+
toolbar?: boolean | Toolbar | Function;
|
|
254
252
|
/** Allow table edition */
|
|
255
253
|
editable?: boolean;
|
|
256
254
|
/** Allow data export */
|
|
@@ -807,6 +805,8 @@ declare namespace jspreadsheet {
|
|
|
807
805
|
last: () => void;
|
|
808
806
|
/** Navigation left */
|
|
809
807
|
left: () => void;
|
|
808
|
+
/** Dynamic load data to the spreadsheet. This method does not trigger events or persistence and reset the spreadsheet. To persist use setData. */
|
|
809
|
+
loadData: (data: any[]) => void;
|
|
810
810
|
/** Change a column position */
|
|
811
811
|
moveColumn: (from: number, to: number) => void;
|
|
812
812
|
/** Change a row position */
|
|
@@ -895,7 +895,7 @@ declare namespace jspreadsheet {
|
|
|
895
895
|
setComments: (cellName: String, comments: String) => void;
|
|
896
896
|
/** Change the worksheet settings */
|
|
897
897
|
setConfig: (config: Worksheet) => void;
|
|
898
|
-
/**
|
|
898
|
+
/** Set the worksheet data */
|
|
899
899
|
setData: (data: any[]) => void;
|
|
900
900
|
/** Set the defined name */
|
|
901
901
|
setDefinedNames: (key: string, value: string) => void;
|