Skip to content
Icon

WARNING You're browsing the documentation for an old version of LARAVEL-DATATABLES. Consider upgrading your project to laravel-datatables 11.0.

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