Read only grid interface



for this read only grid , if request is denied then for that row i need to show like Request has been denied ("comments  for denied") and in brackets rejection comments as shown in pic .


Can someone help me with the code

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Senior Developer
    in reply to ZAINAB

    The record type you used for grid is Audit log. Now you cannot use requests in fv!row[] in second rich text item. Use relationship between audit log and request if there is any relationship added. Else try to add the relationship or get the request details separately in a local variable and then use that in rich text item

    example: fv!row[recordType!AuditLog.relationships.Requests.requestStaus]



  •   : I need only (reject test comments) only on  one row or one particular row where it says request is denied  .not for all rows.

    can you please advise

  • 0
    Certified Lead Developer
    in reply to ZAINAB

    You haven't provided any detail as to your data structure, particularly how your general row data is tied to a particular rejection comment.  Without knowing the structure, it's hard for anyone here to guess as to what code to suggest.  Generally speaking when you want to display a comment in a grid row when that row has a particular status, you would be showing a comment that's also stored in that row, or at least stored in an entry specifically referenced by a member of that row.  I can't really help you any further though, since the relationship in question is not something I or anyone else here can discern without more detail.