Skip to content

Commit

Permalink
Add Doc for predefined_columns
Browse files Browse the repository at this point in the history
  • Loading branch information
martineiber committed Jan 7, 2025
1 parent 7c8eb3b commit 47c6578
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions doc/10_Extending_Studio/05_Grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 47c6578

Please sign in to comment.