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, 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' },
]