Editable Grid - edit only specific rows based on a link click

Hi All,

I have a user case below, where in "comments column" should be editable based on click of a "edit" icon.  Below is the code snippet with in the grid.

a!textField(
label: "Comments" & fv!item,
value: fv!item.commenttext,
saveInto: {
fv!item.commenttext
},
readOnly: false(),     --->>>>>   how can I make the row editable when a user clicks on edit icon ?
),
if(
fv!item.status= "NON-EDIT",
a!textField(
label: "Action" & fv!item,
value: "",
readOnly: true
),
a!richTextDisplayField(
value: a!richTextIcon(
icon: "edit",
caption: "Edit",
link: a!dynamicLink(
value: fv!index,
saveInto: {
a!save()
}
)
),
align: "CENTER"
)


Any help is appreciated Slight smile

  Discussion posts and replies are publicly visible