Agregar/Quitar comentarios desde el lado del cliente
Contents
[
Hide
]
Este tema discute cómo agregar y quitar comentarios desde el lado del cliente en el control Aspose.Cells.GridWeb.
Ahora Aspose.Cells GridWeb admite agregar y quitar comentarios desde el lado del cliente. Para esto, la API proporciona las funciones “addcomments” y “delcomments”. El siguiente fragmento de código demuestra cómo agregar y quitar comentarios desde el 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> |