Hello !
For formatting a table in a view it is possible to provide the columns-array to order and format it.
Ist it in Excel-Export also possible to do so?
Table::create([
'dataSource' => $this->dataStore('ergebnis'),
'columns' => [
'atc_code' => [
'label' => 'ATC-Code',
'type' => 'string',
],
'atc_bed' => [
'label' => 'Wirkstoff',
'type' => 'string',
],
'anz_vo' => [
'label' => 'Anzahl-VO',
'type' => 'number',
"decimals" => 0,
"decPoint" => ",",
"thousandSep" => ".",
],
]
]);