Need Help with a line of code

Hi Everyone,

I am working on a group functionality for an application I am creating. I have it working as intended, but I wish to create a presenter to alter the appearance of an ID link from a number string to a button.

I wish to change the Add/Remove column from the ID attribute to make it look like a button, I am able to create the presenter and add the HTML and CSS but I am missing the JS required to link it to the case id.

Does someone know the code required to get this working?