Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

exportContent ignores images

$
0
0
hello.

SmartClient Version: v9.1p_2014-03-10/EVAL Deployment

A ListGridField displays photos as ListGridFieldType.IMAGE

When exporting the grid as pdf these photos are omitted. (see bottom for exporting code)
The Listgrid is filled (for now) using setData(Record[])

My current workaround is to display the photos manually using a custom cellFormatter with Canvas.imgHTML(...)

Is there a better way to do that?


DSRequest requestProperties = new DSRequest();
requestProperties.setAttribute("skinName", "Enterprise");
requestProperties.setAttribute("pdfName", "file");
requestProperties.setDownloadResult(true);
RPCManager.exportContent(detailsGrid, requestProperties);

Viewing all articles
Browse latest Browse all 4756

Trending Articles