passwords in datatable cells

hi all,
is there a way to show ‘’ for passwords in a datatable cell?
I added ( editor:“password” ) to the column but it shows the password and not the '
’.
Thanks you

use template or format in column’s config.

{
    format: function(value){
        return value.replace(/./g, '*');
    }
}

thank you very much :smile:

well my advice if you dont want “password” dont send any password when retrieve the data.

answering your question use schema:
{
view:“datatable”,
data: [ { id:1, code:1, password:“secret”, quantity:1994, price:678790,
discount:9.2} ],
scheme:{$change:somefunction },
etc…
}

function somefunction(obj){
obj.password = “*********”;
};