Skip to content

Fixed exports

Compare
Choose a tag to compare
@marksalmon marksalmon released this 09 Aug 20:46
· 184 commits to master since this release
bf6f24d
  • Excel exports now have the correct column headers (based on $column->label or $column->name
  • Callback (or in fact any type of) columns can make use of ->exportCallback() to which you can pass a callback to format your output differently for export compared to the displayed version. Especially useful if you are using a view or html in a callback.
  • Column methods that use callback under the hood (eg. linkTo(), view(), editable(), truncate()) will now by default pass an unaltered value when exporting. This can be overridden with exportCallback().
  • Checkbox column is now automatically excluded from export