eXcell_img() in dhtmlxgrid.js has a little problem.

[code]function eXcell_img(cell){
try{
this.cell=cell;
this.grid=this.cell.parentNode.grid;
}
catch (er){}
this.getValue=function(){
if (this.cell.firstChild.tagName == “IMG”)
return this.cell.firstChild.src+(this.cell.titFl != null
? “^”+this.cell._brval
: “”);
else if (this.cell.firstChild.tagName == “A”){
var out = this.cell.firstChild.firstChild.src+(this.cell.titFl != null ? “^”+this.cell._brval : “”);
out+=“^”+this.cell.lnk;

		if (this.cell.trg)
			out+="^"+this.cell.trg
		return out;
	}
}
this.isDisabled=function(){
	return true;
}

}[/code]

in above code, this.cell.firstChild.src should be changed to this.cell.firstChild.attributes[“src”], this.cell.firstChild.firstChild.src should be changed to this.cell.firstChild.firstChild.attributes[“src”].
e.g:
if a cell is a img, , the img’s src attribute = “”, in chrome, the img will be empty.
but after drag the row to other positon, the img will become to , in chrome the img will show a ugly icon.

so eXcell_img() has problem when drag row to the new position.

thanks!