Skip to content

Commit a859dd0

Browse files
Merge pull request #122 from MrYamous/action-column-not-exported-default
Document action column is not exported by default
2 parents e97f90e + 9d1a024 commit a859dd0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/table-features/columns.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ The Action Column is a dedicated column to display Row Actions such as [Buttons]
2929
To include an Action Column, just add a call to `Column::action()` in your Component's `columns()` method.
3030

3131
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.
32+
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.
3233

3334
Example:
3435

docs/table-features/exporting-data.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ Sometimes, it may be necessary to omit certain Columns when exporting data but s
6666

6767
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.
6868

69+
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.
70+
6971
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.
7072

7173
Example:

0 commit comments

Comments
 (0)