{a!localVariables(local!item:0,a!forEach( items: enumerate(2), expression: a!columnsLayout( columns: a!localVariables( local!outerIndex: fv!item, local!item:1, a!forEach( items: 1+enumerate(3), expression: a!columnLayout( contents: a!cardLayout( style: "INFO", contents: { a!textField( value:local!item, saveInto:a!save(local!item,tointeger(local!item)+1), ), a!richTextDisplayField( labelPosition: "COLLAPSED", align: "CENTER", value: a!richTextItem( text:local!item, color: "#1a1a00", size: "MEDIUM", ), ), }, height: "MEDIUM", shape: "ROUNDED", ),
) ) ) )),)}
The above code will have 2 columns and 3 rows.
it is giving the below output.
but i want to display 1 2 3
4 5 6.
If i apply some logic , i will get 1 2 3
3 4 5
incrementing variable also not possible here. kindly help.
Discussion posts and replies are publicly visible
Please use a Code Box, which preserves indentation/formatting and improves readability of code (back up out of the negatives)...