BUG: DataSourcePasswordField displays clear text in grid

When using a filed of type DataSourcePasswordField in a grid, it properly displays password editor in place (i.e., characters are hidden). When editor value is applied, however, grid shows clear text.

Any ideas? Shall I submit a bug report?

Is it fixable by CSS? I found the following on the forum:

  • The first way is to override getCellCSSText(), and return additive style attributes

Does editing a bunch of passwords in a grid really make sense?

If you insist, just use a CellFormatter to output "*"s instead of real values.

Editing passwords in grid makes sense, since they are maintained separately and then reused elsewhere in the app.

Could not find any API for CellFormatter in ListGrid (only DateFormatter?), am I missing something?

Anyways, if there is DatasourcePasswordTextField, it should work out of the box (it already half-works, since proper editor is invoked in grid)

Will there be a fix for this! One wouldn’t expect a grid to display a password field in clear text, when using a DataSourcePasswordField.

There will be, but see the workaround two posts back.

I have implemented the workaround, thanks.