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

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>