Kommentare vom Client hinzufügen/entfernen

Contents
[ ]

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

// 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>