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
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
Comment