yajra / laravel-datatables-export

Laravel DataTables Export plugin that uses queue, spout and livewire for bulk data export.
MIT License
30 stars 18 forks source link

[Feature Request] Add option to set sheet name #23

Closed yajra closed 2 years ago

yajra commented 2 years ago

It would be nice to have a property to set the sheet name.

Proposed Approach

If sheet-name is not set, we can get the default value (Sheet1) via config .

<livewire:export-button :table-id="$dataTable->getTableId()" filename="my-table.xlsx" sheet-name="Summary Report" />