Skip to content

Commit

Permalink
fix exporting data example
Browse files Browse the repository at this point in the history
  • Loading branch information
MrYamous authored Oct 17, 2024
1 parent 4f4d2d7 commit ece7acb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/table-features/exporting-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -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),
];
}
}
Expand Down

0 comments on commit ece7acb

Please sign in to comment.