I want a column in an editable grid where I have checkboxes for every cell in that column. User can select yes or no option
Discussion posts and replies are publicly visible
Hi vijayp6380 ,
Please go through this interface recipie here. You can do the changes necessary for your requirement
Thank yo for the reference.
But, let's say I have a column called "IsActive" in the editable grid. I have to provide 2 options : true and false to the end user so that they can select whether each user in the grid is active or not.
https://docs.appian.com/suite/help/23.3/recipe-configure-a-boolean-checkbox.html
You can configure the checkbox or dropdown in the same way you configured the text field. Please check here to know how to configure checkbox
Hi, you can configure the grid like below
a!localVariables( local!data:{ a!map( name: null, tier: null ) }, { a!gridLayout( label: "Editable Grid", labelPosition: "ABOVE", headerCells: { a!gridLayoutHeaderCell(label: "Name"), a!gridLayoutHeaderCell(label: "Choice") }, columnConfigs: { a!gridLayoutColumnConfig( width: "NARROW" ) }, rows: { a!forEach( items: local!data, expression: a!gridRowLayout( contents: { a!textField( label: "Name", value: fv!item.name, saveInto: fv!item.name ), a!checkboxField( label: "Check box", value: fv!item.tier, saveInto: fv!item.tier, choiceLabels: {1,2,3}, choiceValues: {1,2,3} ) } ) ) }, addRowLink: a!dynamicLink( label: "Add New Customer", saveInto: { a!save(local!data, append(local!data, local!data)) } ), selectionSaveInto: {}, validations: {}, shadeAlternateRows: true ) } )