Agregar/eliminar comentarios del lado del cliente
Contents
[
Hide
]
Este tema trata sobre cómo agregar y eliminar comentarios del lado del cliente en el control Aspose.Cells.GridWeb.
Aspose.Cells GridWeb ahora admite agregar y eliminar comentarios del lado del cliente. Para ello, el API proporciona las funciones “addcomments” y “delcomments”. El siguiente fragmento de código muestra cómo agregar y quitar comentarios del lado del cliente en GridWeb.
Código de muestra
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> |