You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- add links to related pages for all new functionality, updates entries
- fix Usage code blocks in Sheet Manager API pages (jsx -> ts)
- improve wording: fix "via API", awaitRedraw description, sheet name escaping, dynamic array fix description
- make font size sub-items consistent
-`name` - (*string*) required, the formula name (case-insensitive, stored as uppercase)
28
-
-`handler` - (*mathFunction*) required, a callback function that processes the input arguments (strings, numbers, booleans, or arrays of these) and returns a single value
28
+
-`handler` - (*function*) required, a callback function that processes the input arguments (strings, numbers, booleans, or arrays of these) and returns a single value
29
29
30
30
:::note
31
31
The `handler` callback function must be synchronous. Using `Promise` or `fetch` inside the function is not allowed.
Copy file name to clipboardExpand all lines: docs/whats_new.md
+14-16Lines changed: 14 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,32 +20,30 @@ The new release introduces significant changes in the Spreadsheet API: there is
20
20
21
21
### New functionality
22
22
23
-
- The `ISheetManager` module is introduced. It is a centralized API for managing sheets in Spreadsheet. It is accessible via the `spreadsheet.sheets` property and replaces all the deprecated sheet-related methods on the root `ISpreadsheet` instance.
24
-
- new methods: `sheets.add`, `sheets.remove`, `sheets.getAll`, `sheets.getActive`, `sheets.setActive`, `sheets.clear`, `sheets.get`
25
-
- React Spreadsheet wrapper is introduced
26
-
- The ability to specify a custom (user-defined) formula
27
-
- The ability to display numbers in the scientific (exponential) notation
28
-
23
+
-[React Spreadsheet wrapper](/react/) is introduced. Check related examples in the [GitHub demo repository](https://github.com/DHTMLX/react-spreadsheet-examples)
24
+
- The [`ISheetManager`](/api/overview/sheetmanager_overview/) module is introduced. It is a centralized API for managing sheets in Spreadsheet. It is accessible via the `spreadsheet.sheets` property and replaces all the [deprecated sheet-related methods](/migration/#deprecated-methods) on the root `ISpreadsheet` instance.
25
+
- new methods: [`sheets.add()`](/api/sheetmanager_add_method/), [`sheets.remove()`](/api/sheetmanager_remove_method/), [`sheets.getAll()`](/api/sheetmanager_getall_method/), [`sheets.getActive()`](/api/sheetmanager_getactive_method/), [`sheets.setActive()`](/api/sheetmanager_setactive_method/), [`sheets.clear()`](/api/sheetmanager_clear_method/), [`sheets.get()`](/api/sheetmanager_get_method/)
26
+
- The ability to specify a [custom (user-defined) formula](/functions/#custom-formulas) via the new [`addFormula()`](/api/spreadsheet_addformula_method/) method
27
+
- The ability to display numbers in the [scientific (exponential) notation](/number_formatting/#scientific-number-format)
29
28
30
29
### Updates
31
30
32
-
- The ability to adjust the font size of cell content:
33
-
-a built-in toolbar control
34
-
-the ability to provide custom font size in the toolbar control
35
-
- New conditional aggregate functions are added into the formulas engine: `COUNTIF`, `COUNTIFS`, `SUMIF`, `SUMIFS`, `AVERAGEIF`, `AVERAGEIFS`, `MAXIFS`, `MINIFS`
36
-
- The `awaitRedraw()` helper is added for Spreadsheet to detect the rendering process and perform the desired code after the component finishes its rendering
37
-
- JSDoc annotations are added to the type definitions, providing inline API descriptions, parameter types, and code examples directly in the IDE
31
+
- The ability to adjust the font size of cell content:
32
+
-setting a default font size option via a [built-in toolbar control](/customization/#default-controls)
33
+
-setting a [custom font size](/customization/#custom-font-size) for the toolbar control
34
+
- New conditional aggregate functions are added into the [formulas engine](/functions/#math-functions): `COUNTIF`, `COUNTIFS`, `SUMIF`, `SUMIFS`, `AVERAGEIF`, `AVERAGEIFS`, `MAXIFS`, `MINIFS`
35
+
- The [`awaitRedraw()`](/awaitredraw/) helper is added for Spreadsheet to detect the rendering process and run the desired code after the component finishes rendering
36
+
-[JSDoc annotations](/using_typescript/#jsdoc-hints) are added to the type definitions, providing inline API descriptions, parameter types, and code examples directly in the IDE
38
37
39
38
### Fixes
40
39
41
-
- Losing focus after switching the active sheet via API
40
+
- Losing focus after switching the active sheet via the API
42
41
- Returning an array of changed cells in the transpose mode
43
42
- Recalculating dependent formulas after paste
44
43
- Overwriting locked cells with formulas during paste operations
45
44
- The issue with running mathematical formulas in a locked cell
46
-
- Sheet name escape cases: looks like cell ref, starts with a number, contains special characters
47
-
- Dynamic array and zero id (the first cell of the first sheet)
48
-
45
+
- Sheet name escaping for names that resemble cell references, start with a number, or contain special characters
46
+
- The issue with dynamic arrays when the cell id is zero (the first cell of the first sheet)
0 commit comments