Kreyu/data-table-bundle

Column visibility option

Closed this issue · 0 comments

Kreyu commented

The columns should support a visible option, which determines whether the column is visible to the user.
This should be useful in case when column should be exportable, but not visible on the views.
The personalization feature should operate on the new option instead of using its own data objects.

$builder
    ->addColumn('id', NumberColumnType::class, ['visible' => false])
    ->addColumn('name', TextColumnType::class)
;