I am trying to create a column on my a!gridField that contains the REMOVE icon.

I am trying to create a column on my a!gridField that contains the REMOVE icon. When user clicks on it, it would remove the row from the table. Right now I have it working so that it display the REMOVE icon on the first row only but the other rows do not have it. It looks like I need to use apply() which I tried but couldn't make it work. I am attaching the piece of code for my gridField.

Anyone has an idea of what I am missing?

gridField.txt

OriginalPostID-181883

OriginalPostID-181883

  Discussion posts and replies are publicly visible