Nothing happens calling the toExcel function

Hi,

this is my page code, copied from the example I found under dhtmlx web site:

[code]

Demo

[/code]

I’ve put the grid-excel-php folder under the codebase directory that’s at the same level of the testing file, as well as all included *.js are under dhtmlx folder, the same level of codebase.

After the click on the button, nothing happens, the firebug doesn’t show anything and the browser as well.

Can you help me understanding where I’m wrong?

Thanks in advance,
Samuel

Hi,
please, make sure one more time that all required files have correct path and loaded at page.
Also please try to update grid-excel-php and dhtmlxgrid_export.js from attachment.
If still doesn’t work then please, provide complete demo, because you code is correct.
dhtmlxgrid_export.zip (2.96 KB)
grid-excel-php.zip (790 KB)

Hi radyno,

with your attachments it worked!

Many thanks :wink:

Samuel

is it possible to put the export of different dhtmlxgrids into the same els but different sheet?

Please, describe more in details what do you mean.

I’ve a customer page with general information about company than I’ve 4 datagrid to list customer contacts, customer addresses, cusomter product bought from me, meetings I have/had with the customer.

I would like to export the customer history having one excel with general info in the first sheet,
contacts in the second, addresses in the third, product 4th and meetings in the last.

Hope I’ve been more clear.

Regards,
Samuel

No, unfortunately there is no way to do it.