Skip to content

Commit ece7acb

Browse files
authored
fix exporting data example
1 parent 4f4d2d7 commit ece7acb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/table-features/exporting-data.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ public function columns(): array
8787

8888
//Displayed in the grid, but not in the exported file // [!code highlight:1]
8989
Column::make('Name', 'name_html_link', 'name')// [!code ++:3]
90-
->visibleInExport(visible: true)
90+
->visibleInExport(false)
9191
->sortable(),
9292

9393
//Hidden in the grid, but included in the exported file // [!code highlight:1]
9494
Column::make('Name', 'name')// [!code ++:4]
9595
->searchable()
9696
->hidden()// [!code ++]
97-
->visibleInExport(visible: true),
97+
->visibleInExport(true),
9898
];
9999
}
100100
}

0 commit comments

Comments
 (0)