Aggiungi/Rimuovi commenti dal lato client

Aspose.Cells GridWeb supporta ora l’aggiunta e la rimozione di commenti dal lato client. A tal scopo, l’API fornisce le funzioni “addcomments” e “delcomments”. Il seguente frammento di codice dimostra come aggiungere e rimuovere commenti dal lato client in GridWeb.

Codice di esempio

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