From TableSettings.yaml (einstein/TableSettings.schema
)
---
title: Documents Table
columns:
- accessor: state.title
component: Text
data:
valueTemplate: <b>${title}<b>
disableSortBy: true
header: Title
id: title
style:
fontSize: 14px
width: 30px
- accessor: state.type
component: Text
data:
valueTemplate: <b>${type}<b>
disableSortBy: true
header: Type
id: type
style:
fontSize: 14px
width: 30px
is_required: true
- accessor: state.status
component: Status
data:
valueTemplate: <b>${status}<b>
disableSortBy: true
header: Status
id: status
style:
fontSize: 14px
width: 30px
is_required: false
- accessor: state.author
component: Text
data:
valueTemplate: <b>${author}<b>
disableSortBy: true
header: Author
id: author
style:
fontSize: 14px
width: 30px
- accessor: state.year
component: Text
data:
valueTemplate: <b>${year}<b>
disableSortBy: true
header: Year
id: year
style:
fontSize: 14px
width: 30px
- accessor: state.tags
component: Text
data:
valueTemplate: <b>${tags}<b>
disableSortBy: true
header: Tags
id: tags
style:
fontSize: 14px
width: 30px