Skip to content
Icon

WARNING You're browsing the documentation for an upcoming version of Laravel DataTables. The documentation and features of this release are subject to change.

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',
];