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: Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/comment.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,8 @@ Cells with comment display a small comment indicator; hover to preview the comme
18
18
The Syncfusion Spreadsheet does not automatically track user identity. To tag new comments and replies with an author name, set the `author` property when initializing the Spreadsheet.
19
19
20
20
```js
21
-
@(Html.EJ2().Spreadsheet("spreadsheet")
22
-
.Author("Place the Author Name Here")
23
-
.Render()
24
-
)
21
+
<ejs-spreadsheet id="spreadsheet" author="Place the Author Name Here">
22
+
</ejs-spreadsheet>
25
23
```
26
24
>If the author property is not set, "Guest User" will be displayed as the author for comment and replies by default.
27
25
@@ -74,7 +72,7 @@ You can also use the `isResolved` property in the comment model when initializin
74
72
75
73
```ts
76
74
// Update a cell with a comment using the updateCell method
77
-
this.updateCell({
75
+
spreadsheet.updateCell({
78
76
comment: {
79
77
author: 'Chistoper', text: 'Are you completed the report',
Copy file name to clipboardExpand all lines: Document-Processing/Excel/Spreadsheet/ASP-NET-MVC/comment.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,10 @@ Cells with comment display a small comment indicator; hover to preview the comme
18
18
The Syncfusion Spreadsheet does not automatically track user identity. To tag new comments and replies with an author name, set the `author` property when initializing the Spreadsheet.
19
19
20
20
```js
21
-
<ejs-spreadsheet id="spreadsheet" author="Place the Author Name Here">
22
-
</ejs-spreadsheet>
21
+
@(Html.EJ2().Spreadsheet("spreadsheet")
22
+
.Author("Place the Author Name Here")
23
+
.Render()
24
+
)
23
25
```
24
26
>If the author property is not set, "Guest User" will be displayed as the author for comment and replies by default.
25
27
@@ -72,7 +74,7 @@ You can also use the `isResolved` property in the comment model when initializin
72
74
73
75
```ts
74
76
// Update a cell with a comment using the updateCell method
75
-
this.updateCell({
77
+
spreadsheet.updateCell({
76
78
comment: {
77
79
author: 'Chistoper', text: 'Are you completed the report',
0 commit comments