jspreadsheet 11.0.26 → 11.0.28

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 CHANGED
@@ -1332,8 +1332,8 @@ declare namespace jspreadsheet {
1332
1332
  getStyle: (cellName?: string|null, onlyIndexes?: boolean) => string|object;
1333
1333
  /** Get value by the cell name or object. The value can be the raw or processed value. */
1334
1334
  getValue: (cell: string, processed: boolean) => string;
1335
- /** Get value by the coordinates. The value can be the raw or processed value. */
1336
- getValueFromCoords: (x: number, y: number, processed: boolean) => any;
1335
+ /** Get value by the coordinates. The value can be the source or processed value, including not formatted proceed data. */
1336
+ getValueFromCoords: (x: number, y: number, processed?: boolean, raw?: boolean) => any;
1337
1337
  /** Get the width of one column by index or all column width as an array when index is null. */
1338
1338
  getWidth: (x?: number) => Array<number> | number;
1339
1339
  /** Go to the row number, [col number] */
@@ -1378,8 +1378,8 @@ declare namespace jspreadsheet {
1378
1378
  last: (shiftKey?: boolean, ctrlKey?: boolean) => void;
1379
1379
  /** Navigation left */
1380
1380
  left: (shiftKey?: boolean, ctrlKey?: boolean, jump?: boolean) => void;
1381
- /** Dynamic load data to the spreadsheet. This method does not trigger events or persistence and reset the spreadsheet. To persist use setData. */
1382
- loadData: (data: any[]) => void;
1381
+ /** Change the data without events */
1382
+ loadData: (data: any[], adjustDimension?: boolean) => void;
1383
1383
  /** Move one or more columns to another position */
1384
1384
  moveColumn: (col: number, to: number, quantityOfColumns?: number) => void;
1385
1385
  /** Move one or more rows to another position */