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
  • 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.