Issue with Download to Excel

Hi ,
I am using latest grid-excel-java from here:
viewtopic.php?f=23&t=20151
and file dhtmlxgrid_export.js as given in the attachment. Iam attaching my sample code as well as xml along with this.
On click on Get as Excel button, excel is opening up but along with excel another window(this is the /generate ) also opens up…Hw to close this…since i require only excel sheet. Also in the excel i acn see all contents present on the screen(headers+all the rows) then only headers are getting duplicated at the end.
How to solve this…Please help

Thanks
Veena
New Folder (2).zip (6.3 KB)

Hi,
could you provide complete demo or link to the working sample?
I tried to get your code to work, but it doesn’t have too many files in package.

Hi,
I have attached the code sample,xml as well as the excel which got generated with duplicate headers.

Thanks
Veena
codeSample.zip (6.42 KB)

Hi,
please, try to use export version from attachment to prevent duplicating header at the bottom.
Also you should update dhtmlxgrid_export.js from attachment to show download dialog without opening new page.
dhtmlxgrid_export.zip (2.96 KB)
grid-excel-java.zip (1.4 MB)

Hi,
I took the latest files from the attachment and tried it again. Both the issues are still there.
Headers are getting duplicated and along with download dialog another browser window(/generate ) is also opening up.

Thanks
Veena

Hi,
plase, make sure that you’ve updated files correctly. According code in provided package issues should be fixed.