toExcel is not a function

I’ve tried the new excel export in grid.

Unfortunately I get a JS error “toExcel is not a function”.

Does anyone know whether there are limitations to grid only and toExcell is not working on treeGrid?

Thanks,
Axel

You have to include dhtmlxgrid_export.js file to your page

Yes. And you have to use the proper Element. Forget the Question, everything’s working as designed!
Sorry for bothering,
Axel