Setting up a Paging Grid Selection Component to display selected text in a text field on an interface

Hi All,

I am trying to configure a Paging Grid Selection Component (see definition code below).  The grid will show a number of CDTs - comments coming from different approvers in a long running process.  However, when a user clicks on a row in the grid, I would like the text in the "comment" field of the selected row to be displayed in an a!paragraphField interface control that is placed outside the grid control on the interface.  Does anyone have guidance as to how I may go about this?

Thanks in advance.

---

local!commentsQuery: a!queryEntity(
      entity: cons!CSHV_COMMENT_CDT,
      query: a!query(
      selection: a!querySelection(columns: {
          a!queryColumn(field: "author"),
          a!queryColumn(field: "timeStamp"),
          a!queryColumn(field: "status"),
          a!queryColumn(field: "comment"),
        }), 
      filter: a!queryFilter(
     field: "cashAdvanceId.id",
     operator: "=",
     value: ri!CashAdvanceData.id
      ),
      PagingInfo: local!commentsPagingInfo
      )
),

...

...

...

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data