# View/hide password in datagrid field

**URL:** <https://community.weweb.io/t/view-hide-password-in-datagrid-field/9945>\
**Category:** How do I?\
**Tags:** data-grid, table\
**Created:** [July 25, 2024, 7:12pm UTC](https://community.weweb.io/t/view-hide-password-in-datagrid-field/9945 "2024-07-25T19:12:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![technobie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/technobie/32/10371_2.png) [@technobie](https://community.weweb.io/u/technobie)\
**Post date:** [July 25, 2024, 7:12pm UTC](https://community.weweb.io/t/view-hide-password-in-datagrid-field/9945/1 "2024-07-25T19:12:07Z")

</div>

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!
