Announcement

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

    Export Functionality in SmartGWT LGPL

    Hi,

    I have requirement to export data into csv, xls and pdf.
    As I am not using SmartGWT EE, can anybody please advise what is the best approach to do the export functionality in Smartgwt?

    My scenario is described below:
    1. Upon User click on "Export Button"
    2. Trigger Servlet to Call DB to get the Data
    3. Populate the Data into csv, xls or PDF (while the main window is not affected).

    I tried to use window.open() but by using this method I cannot pass some parameter into the servlet as the data is visible by user.

    I also tried to use DynamicForm to submitForm(), but somehow the submitForm() cannot call the servlet.

    Can anybody please help me?

    Thanks a lot

    #2
    Any idea?

    Thanks :)

    Comment


      #3
      In Order to come out with the Export CSV Functionality, I believe I need to make a Synchronous Call to Server..

      Currently I am submitting a Form to call Servlet, but I need to pass Custom Object to Servlet and currently in the Form I can only Set HiddenItem in String.

      Any idea how can i achieve that?

      Any help is very much appreciated. Thanks

      Comment

      Working...
      X