Skip to content

Commit bd4337b

Browse files
committed
[update] minor corrections and improvements in docs for v5.2
1 parent fee8e03 commit bd4337b

13 files changed

+28
-26
lines changed

docs/api/overview/actions_overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ spreadsheet.events.on("beforeColumnAdd", function(cell){
7474
| **setValidation** | The action is executed when setting data validation for a cell |
7575
| **sortCells** | The action is executed when sorting data in spreadsheet |
7676
| **setCellStyle** | The action is executed when changing the style of a cell |
77-
| **toggleVisibility** | The action is executed when hiding/showing a column or a row |
77+
| **toggleVisibility** | The action is executed when hiding/showing columns/rows |
7878
| **toggleFreeze** | The action is executed when freezing/unfreezing columns/rows |
7979
| **unmerge** | The action is executed when splitting cells |
8080

docs/api/spreadsheet_afterdataloaded_event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spreadsheet.events.on("afterDataLoaded", () => {
3434

3535
**Change log:** Added in v5.2
3636

37-
**Related article:** [Event handling](handling_events.md)
37+
**Related articles:** [Event handling](handling_events.md)
3838

3939
**Related sample:** [Spreadsheet. Data loaded event](https://snippet.dhtmlx.com/vxr7amz6)
4040

docs/api/spreadsheet_freezerows_method.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ freezeRows(cell?: string): void;
2323
### Example
2424

2525
~~~jsx
26-
spreadsheet.freezeRows("B2"); // the rows up to the second row will be fixed
27-
spreadsheet.freezeRows("sheet2!B2"); // the rows up to the second row in "sheet2" will be fixed
26+
spreadsheet.freezeRows("B2"); // the rows up to the "2" row will be fixed
27+
spreadsheet.freezeRows("sheet2!B2"); // the rows up to the "2" row in "sheet2" will be fixed
2828
~~~
2929

3030
**Related articles:** [Work with Spreadsheet](working_with_ssheet.md/#freezingunfreezing-rows-and-columns)

docs/api/spreadsheet_hidecols_method.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ hideCols(cell?: string): void;
2424

2525
~~~jsx
2626
spreadsheet.hideCols("B2"); // the "B" column will be hidden
27-
spreadsheet.hideCols("sheet2!B2"); // the column "B" in "sheet2" will be hidden
27+
spreadsheet.hideCols("sheet2!B2"); // the "B" column in "sheet2" will be hidden
2828
spreadsheet.hideCols("B2:C2"); // the "B" and "C" columns will be hidden
2929
~~~
3030

3131

32-
**Related article:** [Work with Spreadsheet](working_with_ssheet.md/#hidingshowing-rows-and-columns)
32+
**Related articles:** [Work with Spreadsheet](working_with_ssheet.md/#hidingshowing-rows-and-columns)
3333

3434
**Related API:** [`showCols()`](api/spreadsheet_showcols_method.md)
3535

docs/api/spreadsheet_hiderows_method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spreadsheet.hideRows("sheet2!B2"); // the "2" row in "sheet2" will be hidden
2828
spreadsheet.hideRows("B2:C4"); // the rows from "2" to "4" will be hidden
2929
~~~
3030

31-
**Related article:** [Work with Spreadsheet](working_with_ssheet.md/#hidingshowing-rows-and-columns)
31+
**Related articles:** [Work with Spreadsheet](working_with_ssheet.md/#hidingshowing-rows-and-columns)
3232

3333
**Related API:** [`showRows()`](api/spreadsheet_showrows_method.md)
3434

docs/api/spreadsheet_parse_method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ spreadsheet.parse(data);
173173

174174
~~~jsx title="Example 2. Load data into several sheets"
175175
const data = {
176-
sheets : [
176+
sheets: [
177177
{
178178
name: "sheet 1",
179179
id: "sheet_1",

docs/api/spreadsheet_showcols_method.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description: You can learn about the showCols method in the documentation of the
1313
### Usage
1414

1515
~~~jsx
16-
showCols( cell?: string): void;
16+
showCols(cell?: string): void;
1717
~~~
1818

1919
### Parameters
@@ -24,11 +24,11 @@ showCols( cell?: string): void;
2424

2525
~~~jsx
2626
spreadsheet.showCols("B2"); // the "B" column will become visible again
27-
spreadsheet.showCols("sheet2!B2"); // the column "B" in "sheet2" will become visible again
27+
spreadsheet.showCols("sheet2!B2"); // the "B" column in "sheet2" will become visible again
2828
spreadsheet.showCols("B2:C2"); // the "B" and "C" columns will become visible again
2929
~~~
3030

31-
**Related article:** [Work with Spreadsheet](working_with_ssheet.md/#hidingshowing-rows-and-columns)
31+
**Related articles:** [Work with Spreadsheet](working_with_ssheet.md/#hidingshowing-rows-and-columns)
3232

3333
**Related API:** [`hideCols()`](api/spreadsheet_hidecols_method.md)
3434

docs/api/spreadsheet_showrows_method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spreadsheet.showRows("sheet2!B2"); // the "2" row in "sheet2" will become visibl
2828
spreadsheet.showRows("B2:C2"); // the rows from "2" to "4" will become visible again
2929
~~~
3030

31-
**Related article:** [Work with Spreadsheet](working_with_ssheet.md/#hidingshowing-rows-and-columns)
31+
**Related articles:** [Work with Spreadsheet](working_with_ssheet.md/#hidingshowing-rows-and-columns)
3232

3333
**Related API:** [`hideRows()`](api/spreadsheet_hiderows_method.md)
3434

docs/data_formatting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ You can add a styled border(s) for a cell or a group of cells.
100100
### Setting styled borders
101101

102102
- Select the necessary cell or a group of cells to set a styled border(s) for
103-
- Click the **Border** button in the toolbar and choose the desired type of border, its color and style
103+
- Click the **Border** button in the toolbar and choose the desired type of the border, its color and style
104104

105105
![Styled border](assets/styled_cell_border.png)
106106

docs/functions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,4 +1324,6 @@ When you enter a formula, a popup with description of the function and its param
13241324

13251325
![Popup with formula description](assets/formula_popup.png)
13261326

1327+
Check the example in our [snippet tool](https://snippet.dhtmlx.com/wux2b35b).
1328+
13271329
You can modify the default locale for the popup with formula parameters and add a custom locale. Check the details in the [Localization](localization.md/#default-locale-for-formulas) guide.

0 commit comments

Comments
 (0)