Kommentare vom Client hinzufügen/entfernen
Contents
[
Hide
]
In diesem Thema wird das Hinzufügen und Entfernen von Kommentaren von der Clientseite im Aspose.Cells.GridWeb-Steuerelement erläutert.
Aspose.Cells GridWeb unterstützt jetzt das Hinzufügen und Entfernen von Kommentaren von der Client-Seite. Dafür stellt die API die Funktionen „addcomments“ und „delcomments“ zur Verfügung. Das folgende Code-Snippet veranschaulicht das Hinzufügen und Entfernen von Kommentaren von der Client-Seite in GridWeb.
Beispielcode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET | |
<script> | |
function addComment() { | |
gridwebinstance.getByIndex(0).addcomments({note:'hello',author:'aspose'}); | |
} | |
function removeComment() { | |
gridwebinstance.getByIndex(0).delcomments(); | |
} | |
</script> |