image in dhtmlxGrid printView

Hi,

I tried to print my dhtmlxgrid that is having a column of type ‘img’, but in printView it is showing URL to this image on server.

I wanna know is there any way to customize the printView so that instead of printing URL to image we can print our custom text in img type column???

I am using professional version of dhtmlx lib.



Thanks and Regards

Ashish Raikwar



The current version of printView render only cell values, it ignores any formating|transformation applied to them.
If you are using img excell to render images in grid, you can add next code line before grid creation

    eXcell_img.prototype.getImage=function(){
       return this.cell.innerHTML;
    }

as result, cells with “img” type , will be included in print view as images, not as urls