Skip to content

Commit

Permalink
Merge pull request #120 from MrYamous/export-data-code-example
Browse files Browse the repository at this point in the history
Fix exporting data example
  • Loading branch information
luanfreitasdev authored Oct 17, 2024
2 parents cad1fc7 + ece7acb commit e97f90e
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 e97f90e

Please sign in to comment.