Forum

May 22nd, 2014
A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

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

Topic RSS
How to hide password characters in column (formatter:password is ignored)
03/07/2011
19:03
kobruleht
Member
Forum Posts: 144
Member Since:
05/05/2011
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
OlegK
Germany
Member
Forum Posts: 1233
Member Since:
10/08/2009
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
kobruleht
Member
Forum Posts: 144
Member Since:
05/05/2011
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: 215

Currently Online: palashbolia91, aniltc
95 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1233

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11325

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10533

Posts: 31131

Newest Members: s2e_grid, Ron, ranjansudeep12, songcon2, marcosvmauri, Shahid1

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

Administrators: admin: 61

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information