Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
How to hide password characters in column (formatter:password is ignored)
03/07/2011
19:03
Avatar
kobruleht
Member
Members
Forum Posts: 144
Member Since:
05/05/2011
sp_UserOfflineSmall Offline

I tried to use formatter:password but password characters are still displayed as open text on grid column.
How to hide password characters if password is displayed in grid column ?

colModel: [{ "name":"Password","fixed":true,
"editable":true,
"width":50,
"formatter":"password",
"edittype":"password"
}]
03/07/2011
20:17
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall Offline

After I read the post I verivied in both documantation and the source code, but didn't found the formatter:'password'. So everything is clear. The formatter:'password' do not much more as formatter:'blablabla'. Both do nothing because both not exist. To tell the trust I don't understand which sence has to have a column having only *** inside. In the case is much better don't have it at all or don't display such column (with respect of hidden:true property). I would prefer not have such column at all.

Best regards
Oleg

03/07/2011
21:13
Avatar
kobruleht
Member
Members
Forum Posts: 144
Member Since:
05/05/2011
sp_UserOfflineSmall Offline

Oleg,

thank you.

Password column is used for two purposes:

1. It allows to verify the presence of password for specific user
2. It allows to chnage password using inline edit.

I was able to add password formatter using

jQuery.extend($.fn.fmatter , {
    password : function(cellvalue, options, rowdata) {
    return "click to change";
  }
});

so this issue is solved. Thank you very much for your hard work on jqGrid.

Andrus.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
33 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information