View/hide password in datagrid field

I’m looking to create a table or datagrid that contains credentials, but I want to obviously hide the password field. This is easy enough and have been able to accomplish that by setting the input type. I do want to create a view/hide option though, which I have also been able to accomplish, but it’s messy. I’m using a variable in the display password component, with two workflows for on-click/move off options. The problem I’m having is that when I click a cell, it exposes all the passwords, not just the cell I’m clicking.

In short, I want to include an “eye” icon next to the password to show/hide just that field, but I’m having trouble doing this in a datagrid. Is it possible? Do I need to try this using a table? Do standards tables allow you to set the input type for a given cell?

Thanks!