Skip to content

Commit c31673e

Browse files
996216: Corrected content
1 parent 32d4f45 commit c31673e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Document-Processing/Excel/Spreadsheet/Angular/notes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ In the active worksheet, you can add a note in the following ways:
3636
* **Context Menu**: Right-click the desired cell and select **Add Note**.
3737
* **Ribbon**: Select the cell, navigate to the **Review** tab, click the **Notes** dropdown, and select **Add Note**.
3838
* **Keyboard Shortcut**: Select the cell and press <kbd>Shift</kbd> + <kbd>F2</kbd>.
39+
* **Programmatically**: Use the `updateCell` method with the note model to add a note to a specific cell.
3940

4041
A dialog box will open where you can enter the note content. After entering the content, you can either click on other cells or press the <kbd>Esc</kbd> button to automatically save the note and close the dialog box.
4142

@@ -148,7 +149,7 @@ In the below example, the note functionality is disabled in the Spreadsheet.
148149

149150
The notes can be added initially when the Spreadsheet loads using cell data binding. You need to use the `notes` property in the cell settings to add notes to the Spreadsheet.
150151

151-
In the below example, you can navigate between notes using **Previous Note** and **Next Note** options, toggle individual note visibility with **Show/Hide Note**, and display all notes at once using **Show All Notes**.
152+
In the below example, you can navigate between notes using **Previous Note** and **Next Note** options, toggle individual note visibility with **Show/Hide Note**, display all notes at once using **Show All Notes** and see how notes are added using the `updateCell` method in the `created` event.
152153

153154
{% tabs %}
154155
{% highlight ts tabtitle="app.component.ts" %}

Document-Processing/Excel/Spreadsheet/Javascript-ES6/notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ In the below example, the note functionality is disabled in the Spreadsheet.
147147

148148
The notes can be added initially when the Spreadsheet loads using cell data binding. You need to use the `notes` property in the cell settings to add notes to the Spreadsheet.
149149

150-
In the below example, you can navigate between notes using **Previous Note** and **Next Note** options, toggle individual note visibility with **Show/Hide Note**, display all notes at once using **Show All Notes** and how notes are added using `updateCell` method in the `created` event.
150+
In the below example, you can navigate between notes using **Previous Note** and **Next Note** options, toggle individual note visibility with **Show/Hide Note**, display all notes at once using **Show All Notes** and see how notes are added using the `updateCell` method in the `created` event.
151151

152152
{% tabs %}
153153
{% highlight ts tabtitle="index.ts" %}

0 commit comments

Comments
 (0)