Lägg till/ta bort kommentarer från klientsidan

Contents
[ ]

Aspose.Cells GridWeb stöder nu att lägga till och ta bort kommentarer från klientsidan. För detta tillhandahåller API funktionerna “addcomments” och “decomments”. Följande kodavsnitt visar hur man lägger till och tar bort kommentarer från klientsidan i GridWeb.

Exempelkod

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