Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document action column is not exported by default #122

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/table-features/columns.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ The Action Column is a dedicated column to display Row Actions such as [Buttons]
To include an Action Column, just add a call to `Column::action()` in your Component's `columns()` method.

Typically, the Action Column is the last column in your Table, however may add this column as many times as you want and at any desired position.
If you deal with export, by default Action Column are not included but the method [`Column::visibleInExport()`](/table-component/component-columns.html#visibleinexport) can be used if you need them in your exported file.

Example:

Expand Down
2 changes: 2 additions & 0 deletions docs/table-features/exporting-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ Sometimes, it may be necessary to omit certain Columns when exporting data but s

To implement this scenario, you should use the method [`Column::visibleInExport()`](/table-component/component-columns.html#visibleinexport) to control whether the column will be included in the export file and the method [`Column::hidden()`](/table-component/component-columns.html#hidden) to hide the column in the grid.

By default, [Action Column](/table-features/columns.html#action-column) are not included in export, the method [`Column::visibleInExport()`](/table-component/component-columns.html#visibleinexport) will allow you to add them if you need.

Using these two methods, you can create a column with [formatted data](/table-component/data-source-fields.html#formatting-data-examples), displayed in the grid but hidden in export, and a column with raw data hidden in the grid but included in the exported file.

Example:
Expand Down