Export excel

Hello I used the Excel export online in my application but this service is down. That’s why I wanted to use the local excel export DHTMLX but I get an error: mygrid.toExcel is not a function.