Grid in Appian

Hi All,

I have to display the data shown in below screenshot. Is there any grid pattern available to display like that?

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Lead Developer
    in reply to Rahul009

    Yes and No. Yes you can create something like this but No it can't be done using a grid. You will have to build a grid like layout using the card layouts. 

    a!localVariables(
      local!expandedIndex,
      a!forEach(
        items: enumerate(10),
        expression: {
          a!cardLayout(
            contents: {
              a!richTextDisplayField(
                labelPosition: "COLLAPSED",
                value: {
                  a!richTextItem(
                    text: fv!index
                  )
                }
              ),
              a!sectionLayout(
                showWhen: tointeger(local!expandedIndex)=fv!index,
                label: "Transaction History"
              )
            },
            link: a!dynamicLink(
              value: if(tointeger(local!expandedIndex)=fv!index,null,fv!index),
              saveInto: local!expandedIndex
            )
          )
        }
      )
    )