クライアント側からコメントを追加/削除する
Contents
[
Hide
]
このトピックでは、Aspose.Cells.GridWebコントロールのクライアント側でのコメントの追加および削除について説明します。
Aspose.Cells GridWebは現在、クライアント側からコメントの追加および削除をサポートしています。APIは"addcomments"および"delcomments"関数を提供しています。次のコードスニペットは、GridWebでクライアント側からコメントを追加および削除する方法を示しています。
サンプルコード
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> |