Error when export to pdf - Js Error “mygrid.toPDF is not a f

I tryed to export in pdf the grid using the guide docs.dhtmlx.com/doku.php?id=dhtmlxgrid:pdf
I got the JS error : “mygrid.toPDF is not a function”, what’s wrong? I’m using the v.2.5 build 91111 version of dhtmlx.

It seems that dhtmlxgrid_export.js is not included
Check that

  • file is included on the page
  • paths are correct
  • file is included after dhtmlxgrid.js

Thanks for the replay.
I do exactly what you wrote:

  • file is included on the page
  • paths are correct
  • file is included after dhtmlxgrid.js

My include sequence is:

Anybody can help me?

“mygrid.toPDF is not a function”
Such issue may occur only if dhtmlxgrid_export.js is not included