Print Column

You can print a column customised header if manually set.

Print Columns with Custom Title

protected $printColumns = [
    ['data' => 'name', 'title' => 'Name'],
    ['data' => 'email', 'title' => 'Registered Email'],
];

Print Columns

protected $printColumns = [
    'name',
    'email',
];