From 47c65780539f2e176cc47849ecabd5fded968ebc Mon Sep 17 00:00:00 2001 From: Martin Eiber Date: Tue, 7 Jan 2025 15:05:36 +0100 Subject: [PATCH] Add Doc for predefined_columns --- doc/10_Extending_Studio/05_Grid.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/10_Extending_Studio/05_Grid.md b/doc/10_Extending_Studio/05_Grid.md index 4d036f537..3b3baab8b 100644 --- a/doc/10_Extending_Studio/05_Grid.md +++ b/doc/10_Extending_Studio/05_Grid.md @@ -174,4 +174,20 @@ final readonly class MetadataCollector implements ColumnCollectorInterface ]; } } +``` + +### Predefined Columns +You can define what columns should be visible by default in the grid by modifying the `pimcore_studio_backend.grid.asset.predefined_columns` parameter in your `config.yaml` file. + +Example: +```yaml + +pimcore_studio_backend: + grid: + asset: + predefined_columns: + - key: id + group: system + - key: fullpath + group: system ``` \ No newline at end of file