I read different threads here for export datagrid to csv.
Here is my modified JSfiddle: Edit fiddle - JSFiddle
I think the url setting got problem therefore can't get it to export to csv. I also created a file called ExportGrid.html. Can someone help me take a look. I put files here: C:\inetpub\wwwroot\Exportdata\index.html or C:\inetpub\wwwroot\Exportdata]ExportGrid.html