DataTableColumns

customize datatable columns for data

Props

drop

Whether to show the controls via a DropButton.

boolean
true

options

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, disabled which will determine if the option can be checked/unchecked, and pinned which can be used to specify items that should not change position in the List.

[
  { label: 'Id', property: 'id', disabled: true },
  { label: 'Name', property: 'name', pinned: true },
  { label: 'Age', property: 'age' },
]