Categories | Question details Back To List | ||
Call server Hi Sir, I have requirement like generate MS Excel sheet using screen data, the screen is using dhtmlx. Using dhtmlxGrid.serializeToCSV() i got the data from the screen however, not able to call to server with parameter which pass this CSV data. Could you please give some example which have a similar requirement? Thanks & Regards, Sangam Answer posted by Support on Oct 23, 2008 02:37 The csv string can be passed to the server by form submit or by Ajax. It will be better to use POST as grid can be big. For example, you can use dhtmlxAjax - a ready solution to send data by Ajax: var str = dhtmlxGrid.serializeToCSV(); dhtmlxAjax.post(url,"data="+str,outputResponse); The sample is http://www.dhtmlx.com/docs/products/dhtmlxAjax/samples/samples_of_usage/send_request.html |