Hi,
I have started using dhtmlxgrid and I’m quite excited with the features that it provides.
I’m trying to create a password field so i used the custom eXcell sample.
Im creating a grid with editable fields. So the ed cell type are in different style while the one I created looks quite different. So how to change the styles of the password field on click on the cell which will give you an editable password field?
The question may be novice but please throw some light regarding it as it will save a lot of time for me.
Thanks in advance.
function eXcell_pwdField(cell){
if (cell){
this.cell = cell;
this.grid = this.cell.parentNode.grid;
}
this.setValue=function(val){
this.setCValue("<input type='password' size='80'>"+val+"</input>",val);
};
this.getValue=function(){
return this.cell.childNodes[0].innerHTML; // get value
};
}
eXcell_pwdField.prototype = new eXcell;