Skip to main content
November 21, 2023
Question

Read only grid interface

  • November 21, 2023
  • 12 replies
  • 0 views



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

    12 replies

    sriramk5349
    November 21, 2023

    Hi [mention:85ca6a2722324ac4b08c9eda0b5e1851:e9ed411860ed4f2ba0265705b8793d05] ,

    a!gridColumn(
            label: "Answer",
            value: a!richTextDisplayField(
              value:{
                a!richTextItem(
                  text: /*normal text*/
                ),
                a!richTextItem(
                  text: "(required comment)",
                  showWhen: /* give your condition here for denied tasks*/
                )
              } 
            )
          )

    sabat0002Author
    November 21, 2023

    data is getting from record type

    sriramk5349
    November 21, 2023

    Hi [mention:85ca6a2722324ac4b08c9eda0b5e1851:e9ed411860ed4f2ba0265705b8793d05] ,

    the above code is just a sample, if data is coming from recordtype use below notation

    fv!row[recordType!yourRecord.fields.value]

    November 21, 2023
    [deleted]
    sriramk5349
    November 21, 2023

    Hi [mention:d4e89b492655412c96b4ffd9028b711e:e9ed411860ed4f2ba0265705b8793d05] ,

    Please dont post this image in every post you see in discussion as this is not relevant for this discussion. Since you created a separate thread for this thing, please expect a reply there.