Enabling cell comments

To enable comments on data cells in a grid, you need to follow these steps:
  1. In a standalone or nested GridBlox, add the commentsEnabled attribute and set it to true.
  2. In the standalone or nested DataBlox for the grid above, add the CommentsBlox tag, specifying the collectionName and dataSourceName attributes for your comments collection. The data source and the collection names are defined using Comments Management under Administration tab of the IBM® Alphablox Admin Pages.

Here is an example of what a PresentBlox enabled to support comments would look like:

<blox:present id="myPresentBlox">
   <blox:grid commentsEnabled="true" />
   <blox:data dataSourceName="QCC-Essbase" query="<%=query%>">
       <blox:comments
         collectionName="sales_comments"
         dataSourceName="CommentsCollection" >
      </blox:comments>
   </blox:data>
</blox:present>

Once this has been done, users can right-click on data cells and add or view comments. No other steps are required by developers for basic comments support.