i have requirement that how many of country we select those many rows are populating in grid ,i want to restrict those many rows to single row.any suggestion
Discussion posts and replies are publicly visible
can you explain you requirement with example
for example I am choosing Australia and Newzeland in first interface when I click ok second interface will be having grid that displays two rows one for Australia and one for Newzeland but I want to restrict that row to one
so in one row you need Australia,Newzeland
a!localVariables( local!selectedCountrys, { a!multipleDropdownField( label: "Country", placeholderLabel: "---select---", choiceLabels: { "Australia", "Newzeland", "India" }, choiceValues: { "Australia", "Newzeland", "India" }, value: local!selectedCountrys, saveInto: local!selectedCountrys, ), a!gridField( label: "Slected Country's", labelPosition: "ABOVE", data: if( or( isnull( local!selectedCountrys ), length( local!selectedCountrys ) = 0 ), {}, { { name: tostring( local!selectedCountrys ) } } ), columns: { a!gridColumn( label: "Names", sortField: "name", value: fv!row.name ) } ) } )
can you check this code one