Password field in ListGrid displays actual string

Password field in a editable ListGrid displays the actual string in non-editable mode. Is there any workaround for this? Code snippet from SmartClient demo (Grids->Editing->Edit By Row) attached.

isc.ListGrid.create({
ID: “countryList”,
width:550, height:224, alternateRecordStyles:true, showAllRecords:true, cellHeight:22,
// use server-side dataSource so edits are retained across page transitions
dataSource: countryDS,
// display a subset of fields from the datasource
fields:[
{name:“countryCode”, title:“Flag”, width:40, type:“image”, imageURLPrefix:“flags/16/”, imageURLSuffix:“.png”, canEdit:false},
{name:“countryName”},
{name:“continent”, type:“password”},
{name:“member_g8”},
{name:“population”, formatCellValue:“isc.Format.toUSString(value);”},
{name:“independence”}
],
autoFetchData: true,
canEdit: true,
editEvent: “click”
})

Hi pordeep,

We usually don’t see password editing in a ListGrid, as this would mean the existing passwords are being sent to the browser, and with normal password entry the password never goes to the browser at all. However if this is what you want, you can use formatCellValue to instead display “*****” for the passwords, or whatever you like.