Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    PDF

    Hi,

    i m using smartgwtee 3.0.i am trying to export pdf format but i m not able to
    do it.please help me .how to export data as pdf format.

    this is my code:------

    DSRequest dsRequestProperties = new DSRequest();

    dsRequestProperties.setContentType("application/pdf");
    dsRequestProperties.setDownloadResult(true);
    dsRequestProperties.setExportDisplay(ExportDisplay.DOWNLOAD);
    RPCManager.exportContent(gridExport, dsRequestProperties);

    gridExport is a canvas of grid.

    thanks
    Last edited by rajesh2011; 7 Oct 2011, 06:02.
Working...
X