I also have a dynamic grid populated from a CSV file and using the header row as the column title and field name.
My solution was to just wrap the fieldname with "[" "]" which allowed the user to use anything for the column titles.
I'm now here trying to get my date format handling working! :)
Rob
functiongenerateColumnsImport(fieldnamedetail) { varcolumns = []; for(vari = 0, l = fieldnamedetail.length; i < l; i++) { varfieldname = fieldnamedetail[i]; column = { field: "['"+ fieldname + "']", title: fieldname }; columns.push(column); } returncolumns; }