クライアント側からコメントを追加/削除する

Aspose.Cells GridWebは現在、クライアント側からコメントの追加および削除をサポートしています。APIは"addcomments"および"delcomments"関数を提供しています。次のコードスニペットは、GridWebでクライアント側からコメントを追加および削除する方法を示しています。

サンプルコード

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