Aggiungi/Rimuovi commenti dal lato client
Contents
[
Hide
]
Questo argomento discute l’aggiunta e la rimozione di commenti dal lato client nel controllo Aspose.Cells.GridWeb.
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
This file contains hidden or 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> |