Grid card edit/delete option

Hi All,
As the card add-on didn’t work. I tried creating card using grid component. I am unable to receive output for edit and delete button services for the same. For delete → I do get the element but while peforming I receive null error.

Please help me out with this issue. If there is any sample or solution for card with edit/delete options. I have attached my trials.

Thank you!