8000 Merge pull request #27 from DHTMLX/next · DHTMLX/docs-spreadsheet@3e2d487 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e2d487

Browse files
authored
Merge pull request #27 from DHTMLX/next
[add] what's new and docs updates for v5.1.2
2 parents dd82f99 + 95d5f5d commit 3e2d487

File tree

6 files changed

+47
-4
lines changed

6 files changed

+47
-4
lines changed

docs/api/spreadsheet_deletecolumn_method.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,8 @@ spreadsheet.parse(data);
3434
spreadsheet.deleteColumn("G2");
3535
~~~
3636

37+
:::note
38+
You can delete several columns by providing a range of cells' ids as a parameter of the method, e.g.: "A1:C3".
39+
:::
40+
3741
**Related articles:** [Work with Spreadsheet](working_with_ssheet.md#addingremoving-rows-and-columns)

docs/api/spreadsheet_deleterow_method.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,8 @@ spreadsheet.parse(data);
3434
spreadsheet.deleteRow("G2");
3535
~~~
3636

37+
:::note
38+
You can delete several rows by providing a range of cells' ids as a parameter of the method, e.g.: "A1:C3".
39+
:::
40+
3741
**Related articles:** [Work with Spreadsheet](working_with_ssheet.md#addingremoving-rows-and-columns)

docs/localization.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,12 @@ const en = {
5454
columns: "Columns",
5555
rows: "Rows",
5656
addColumn: "Add column left",
57-
removeColumn: "Remove column",
57+
removeColumn: "Remove column {col}",
58+
removeColumns: "Remove columns {col}",
5859
fitToData: "Fit to data",
5960
addRow: "Add row above",
60-
removeRow: "Remove row",
61+
removeRow: "Remove row {row}",
62+
removeRows: "Remove rows {row}",
6163
row: "row",
6264
col: "col",
6365
freeze: "Freeze",

docs/whats_new.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,23 @@ description: You can learn what's new in the DHTMLX JavaScript Spreadsheet libra
88

99
If you are updating Spreadsheet from an older version, check [Migration to Newer Version](migration.md) for details.
1010

11+
## Version 5.2.1
12+
13+
Released on June 27, 2025
14+
15+
### Fixes
16+
17+
- The copy/paste script error
18+
- The error that occurred on deleting a row with the two or more last rows selected in the sheet
19+
- The issue with warning displayed on the toolbar customization
20+
- The issue with missing localization for the datepicker
21+
- The issue with unnecessary displaying of the vertical scroll in the toolbar
22+
- Math fixes for correct calculations in formulas
23+
24+
### Updates
25+
26+
- The possibility to remove several columns/rows in one operation via the context menu
27+
1128
## Version 5.2
1229

1330
Released on May 20, 2025

docs/work_with_rows_cols.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ To remove a row, take the following steps:
5050

5151
![Removing rows context menu](assets/remove_row_context_menu.png)
5252

53+
:::note
54+
To remove several rows at once: select the rows, right-click to call the context menu and choose *Rows -> Remove rows [ids]*.
55+
:::
56+
5357
### Adding columns
5458

5559
To add a new column, take the following steps:
@@ -90,6 +94,10 @@ To remove a column, take the following steps:
9094

9195
![Adding columns context menu](assets/remove_column_context_menu.png)
9296

97+
:::note
98+
To remove several columns at once: select the columns, right-click to call the context menu and choose *Columns -> Remove columns [ids]*.
99+
:::
100+
93101
## AutoFit column width
94102

95103
To change the column width so that it would automatically fit the longest content in the column, you can:

docs/working_with_ssheet.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ To add/delete a column, use the related API methods:
3131
- [](api/spreadsheet_addcolumn_method.md)
3232
- [](api/spreadsheet_deletecolumn_method.md)
3333

34-
Pass to the methods the id of the cell that contains the id of a column that should be added.
34+
Pass to the methods the id of the cell that contains the id of a column that should be added/deleted.
3535

3636
~~~jsx
3737
// adds an empty "C" column
@@ -42,14 +42,18 @@ spreadsheet.deleteColumn("C1");
4242

4343
When a new column is added, neighboring columns are moved to the right.
4444

45+
:::note
46+
You can delete several columns by providing a range of cells' ids as a parameter of the `deleteColumn()` method, e.g.: "A1:C3".
47+
:::
48+
4549
### Rows
4650

4751
To add/delete a row, use the API methods below:
4852

4953
- [](api/spreadsheet_addrow_method.md)
5054
- [](api/spreadsheet_deleterow_method.md)
5155

52-
Pass to the methods the id of the cell that contains the id of a row that should be added.
56+
Pass to the methods the id of the cell that contains the id of a row that should be added/deleted.
5357

5458
~~~jsx
5559
// adds an empty second row
@@ -60,6 +64,10 @@ spreadsheet.deleteRow("A2");
6064

6165
When a new row is added, neighboring rows are moved one cell down.
6266

67+
:::note
68+
You can delete several rows by providing a range of cells' ids as a parameter of the `deleteRow()` method, e.g.: "A1:C3".
69+
:::
70+
6371
## Autofit column width
6472

6573
To change the column width so that it would automatically adjust to the longest content in the column, apply the [fitColumn()](api/spreadsheet_fitcolumn_method.md) method. The method takes one parameter - the id of the cell that contains the name of the necessary column.

0 commit comments

Comments
 (0)
0