From ece7acb457ed7b541e36bf2e2c03e92b81a2af71 Mon Sep 17 00:00:00 2001 From: Matthieu Lempereur Date: Thu, 17 Oct 2024 11:18:28 +0200 Subject: [PATCH] fix exporting data example --- docs/table-features/exporting-data.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/table-features/exporting-data.md b/docs/table-features/exporting-data.md index cc6cacc..f9a1ad8 100644 --- a/docs/table-features/exporting-data.md +++ b/docs/table-features/exporting-data.md @@ -87,14 +87,14 @@ public function columns(): array //Displayed in the grid, but not in the exported file // [!code highlight:1] Column::make('Name', 'name_html_link', 'name')// [!code ++:3] - ->visibleInExport(visible: true) + ->visibleInExport(false) ->sortable(), //Hidden in the grid, but included in the exported file // [!code highlight:1] Column::make('Name', 'name')// [!code ++:4] ->searchable() ->hidden()// [!code ++] - ->visibleInExport(visible: true), + ->visibleInExport(true), ]; } }