New! DataTableColumns is in beta, test it out and let us know what you think. This component is available on thestable branch.
The set of possible columns.
array of strings
['id', 'name', 'age']
array of objects
An array of objects that can include a
label
which will render as the option label, property
which should be a data property, and disabled
which will determine if the option can be checked/unchecked.[ { label: 'Id', property: 'id', disabled: true }, { label: 'Name', property: 'name' }, { label: 'Age', property: 'age' }, ]