I am using exportClientData on a list grid. Everything works fine except that the column header contains field names instead of title. Am I missing anything?
FYI, I set canExport as false on certain fields but the fields are still being exported. though I was able to fix this by using the exportFields properties which is working.
Version I am using is v8.3p_2012-11-27/Pro Development Only (2012-11-27)
FYI, I set canExport as false on certain fields but the fields are still being exported. though I was able to fix this by using the exportFields properties which is working.
Version I am using is v8.3p_2012-11-27/Pro Development Only (2012-11-27)
Code:
var fieldToExport = ["field1", "field2"]; MyGridID.exportClientData({ exportAs: "csv", exportDisplay: "download", exportFilename:"exports.csv", exportFields:fieldsToExport});
Comment