Export Columns
You can export a column customised header if manually set.
Export Columns with Custom Title
protected $exportColumns = [
['data' => 'name', 'title' => 'Name'],
['data' => 'email', 'title' => 'Registered Email'],
];
Export Columns
protected $exportColumns = [
'name',
'email',
];