Hi,For my requirement, I'm using Editable Grid it contains multiple check boxes. I'm passing the local variable into the values. But for a single check box selection I am able to save the value, whereas if i'm trying to select multiple check boxes at a time, I am unable to save values. I want to check multiple values and save all of them values.
Discussion posts and replies are publicly visible
Hi,
You can save multiple value in single type variable, here fv!item.ManufacturingSteps is single type variable.
you can join the checkbox values with some special characters,
Note: the data type should be TEXT
try the below code.
a!checkboxField( label: "Manufacturing Steps" & fv!index, choiceLayout: "COMPACT", choiceLabels: cons!DFC_Sites, choiceValues: cons!DFC_Sites, value:if( isnull(fv!item.ManufacturingSteps), null, touniformstring( split(fv!item.ManufacturingSteps,"#") ) ), saveInto: { a!save( fv!item.ManufacturingSteps, if( isnull(save!value), null, joinarray(save!value,"#") ) ) } )
Thanks
Vinay