クライアント側からのコメントの追加/削除
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> |