Export as excel in dhtmlx grid

Hi Guys,
I am using dhtmlx grid in my application. I tried to use dhtmlx grid export excel option, But i am getting an error “mygrid.toExcel is not a function”.

Regards,
Sakthivel

If you are using separate js files, instead of a single dhtmlx.js, be sure to include dhtmlxgrid_export.js

Hi,

Should i buy this dhtmlxgrid_export.js file as separate or with any suite.

Thanks.

It is part of package, check sources\dhtmlxGrid\codebase\ext\dhtmlxgrid_export.js