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
Copy file name to clipboardExpand all lines: docs/migration.md
+77Lines changed: 77 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,83 @@ description: You can learn about migration in the documentation of the DHTMLX Ja
6
6
7
7
# Migration to newer versions
8
8
9
+
## 5.1 -> 5.2
10
+
11
+
### toolbarBlocks
12
+
13
+
In v5.2 the [toolbarBlocks](api/spreadsheet_toolbarblocks_config.md) property is modified in the following way:
14
+
15
+
- the default set of toolbar options is extended by the new *"cell"* option. It includes the *Border* button and the *Merge* button (previously, it was in the *"align"* block)
16
+
- the *"actions"* toolbar block is extended with the *Insert link* button (previously, it was in the *"helpers"* block)
17
+
- the *"helpers"* toolbar block is renamed to *"help"* and isn't included in the default set of toolbar options
18
+
19
+
~~~jsx title="Before v5.2" {9}
20
+
// default configuration
21
+
toolbarBlocks: [
22
+
"undo",
23
+
"colors",
24
+
"decoration",
25
+
"align",
26
+
"format",
27
+
"actions",
28
+
"helpers"
29
+
]
30
+
~~~
31
+
32
+
~~~jsx title="From v5.2" {7}
33
+
// default configuration
34
+
toolbarBlocks: [
35
+
"undo",
36
+
"colors",
37
+
"decoration",
38
+
"align",
39
+
"cell",
40
+
"format",
41
+
"actions"
42
+
]
43
+
~~~
44
+
45
+
### Freezing/unfreezing functionality
46
+
47
+
In v5.2 the way of freezing/unfreezing columns and rows has been modified:
48
+
49
+
- the `leftSplit` and `topSplit` configuration properties that have been used for fixing columns and rows were deprecated
50
+
- new API methods `freezeCols()`, `unfreezeCols()`, `freezeRows()`, `unfreezeRows()` and a new action `toggleFreeze` were introduced
In v5.0, the *"help"* option of the [toolbarBlocks](api/spreadsheet_toolbarblocks_config.md) property is renamed to *"helpers"*. Besides, the default set of options is extended by the new *"actions"* option.
0 commit comments