Kommentare hinzufügen/entfernen von Client Seite
Contents
[
Hide
]
Dieses Thema behandelt das Hinzufügen und Entfernen von Kommentaren von der Client-Seite in der Aspose.Cells.GridWeb-Steuerung.
Aspose.Cells GridWeb unterstützt jetzt das Hinzufügen und Entfernen von Kommentaren von der Clientseite. Dafür bietet die API die Funktionen “addcomments” und “delcomments”. Der folgende Code-Demonstrationsausschnitt zeigt das Hinzufügen und Entfernen von Kommentaren von der Clientseite 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> |