I do have the names and surnames of customers as separate columns in my database and I display them in a single column in the grid. I achieve that by using a cellsrenederer function:
var namerenderer = function (row, datafield, value) { var records = dataAdapter.records; var record = records[row]; return value+' '+record.surname; };
where the datafield that I use is name, which is the datafield from the database that I use.
When I export the data to Excel it export only the name and not the value generated by cellsrenderer. I assume that the export function use the imported datafields and not the ones generated by something like the cellsrenderer function.
Is there a way to overcome this so that I can export the name and surname as a single datafield?