Columns can be configured with a number of properties. For the most basic configuration of a column, simply use the column name as a string in the
However, when you want to customize the column, you have to specify an object, with the following properties being supported:
name - the name to be used for the column. Column cells will render
item[column.name] for every item in the menu.
render(item) - this prop is an alternative to the
name prop, since it allows you to render any valid
React.Node instead of the value in
render should be specified for every column
style - a
style object. The specified styles are applied to all cells in this column. This is overwritten if the item has a style prop
className - a
className to append to all cells in this column.
colSpan - how many columns to span
align - content align for cells in this column. Valid values are
"right".Their behaviour can be affected by