Skip to content

Commit ac47515

Browse files
committed
[update] add custom font size snippet, fix sample titles
- add Related sample link for custom font size in customization.md - lowercase snippet link titles for consistency - fix ISheetManager -> SheetManager in whats_new.md
1 parent 4f6c122 commit ac47515

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

docs/customization.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ spreadsheet.toolbar.data.add({
192192

193193
![Custom Toolbar Button](assets/custom_toolbar_button.png)
194194

195-
**Related sample**: [Spreadsheet. Toolbar Buttons](https://snippet.dhtmlx.com/qopk6lta)
195+
**Related sample**: [Spreadsheet. Custom toolbar button](https://snippet.dhtmlx.com/qopk6lta)
196196

197197
In the example below a new menuItem option is added into the "clear-group" control:
198198

@@ -226,7 +226,7 @@ spreadsheet.toolbar.data.update("redo", { icon: "fa fa-redo" });
226226

227227
![Custom Toolbar Icons](assets/custom_toolbar_icons.png)
228228

229-
**Related sample**: [Spreadsheet. Toolbar Icons](https://snippet.dhtmlx.com/mvnx43o0)
229+
**Related sample**: [Spreadsheet. Custom toolbar icons](https://snippet.dhtmlx.com/mvnx43o0)
230230

231231
### Deleting controls
232232

@@ -257,6 +257,8 @@ spreadsheet.toolbar.data.add(
257257
spreadsheet.parse(dataset);
258258
~~~
259259

260+
**Related sample:** [Spreadsheet. Custom font size](https://snippet.dhtmlx.com/tffbf11g)
261+
260262
## Menu
261263

262264
### Default controls
@@ -411,7 +413,7 @@ spreadsheet.contextMenu.data.add({
411413

412414
![Custom Context Menu Item](assets/custom_context_menuitem.png)
413415

414-
**Related sample**: [Spreadsheet. Context Menu](https://snippet.dhtmlx.com/atl9gd4h)
416+
**Related sample**: [Spreadsheet. Context menu](https://snippet.dhtmlx.com/atl9gd4h)
415417

416418
### Updating controls
417419

@@ -454,4 +456,4 @@ spreadsheet.events.on("beforeAction", function(actionName){
454456
spreadsheet.parse(data);
455457
~~~
456458

457-
**Related sample**: [Spreadsheet. Custom Readonly](https://snippet.dhtmlx.com/8xcursbe)
459+
**Related sample**: [Spreadsheet. Custom readonly](https://snippet.dhtmlx.com/8xcursbe)

docs/whats_new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The new release introduces significant changes in the Spreadsheet API: there is
2121
### New functionality
2222

2323
- [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.
24+
- The [`SheetManager`](/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.
2525
- 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/)
2626
- The ability to specify a [custom (user-defined) formula](/functions/#custom-formulas) via the new [`addFormula()`](/api/spreadsheet_addformula_method/) method
2727
- The ability to display numbers in the [scientific (exponential) notation](/number_formatting/#scientific-number-format)

0 commit comments

Comments
 (0)