custom selection check box does not save updated variable
I have a grid where i implemented custom check box,
a!gridrowLayout {
contents:{
a!richTextDisplayField(
label:"",
labelPosition: "COLLAPSED",
value:
{
a!richTextIcon(
icon: "square-o",
link: a!dynamicLink(
saveInto: {
a!save({local!selectedIndex},fv!index),
a!save(local!selectedrows, append(local!selectedrows,fv!item))
}
),
linkStyle: "STANDALONE",
showWhen:{if(and(local!editProcedures,tointeger(local!selectedIndex) <> fv!index),true,false)},
color: "SECONDARY",
size: "MEDIUM"
),
a!richTextIcon(
icon: "check-square-o-alt",
link: a!dynamicLink(
saveInto: {
a!save(local!selectedIndex,null),
a!save(local!selectedrow, remove(local!selectedrow,wherecontains(fv!item[ recordtype!fields.id],local!selectedProcedure[recordtype!.feilds.id))),
}
),
have drop downs and text fields below
}
Now , if i edit the row and select teh check box, it saves the updated value from the row to local!selectedrow, but when i select the check box and then update the column fields, the updated value doesnot appear in the saved local!selectedrow .Please help
}
