Skip to content

Commit

Permalink
Document columnFields
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Jul 23, 2024
1 parent 1743e64 commit 1fbc971
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/dataviews/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ Properties:
- `layout`: config that is specific to a particular layout type.
- `primaryField`: used by the `table`, `grid` and `list` layouts. The `id` of the field to be highlighted in each row/card/item. This field is not hiddable.
- `mediaField`: used by the `grid` and `list` layouts. The `id` of the field to be used for rendering each card's media. This field is not hiddable.
- `badgeFields`: used by the `grid` layout. It renders these fields as badges without a label.
- `badgeFields`: used by the `grid` layout. It renders these fields without a label and styled as badges.
- `columnFields`: used by the `grid` layout. It renders the label and the field data vertically stacked instead of horizontally (the default).

### `onChangeView`: `function`

Expand Down

0 comments on commit 1fbc971

Please sign in to comment.