createColumns
Table#createColumns creates and validates a set of columns for the table. It is called on the table instance, and returns an array of Columns.
const table = createTable(data);
const column = table.createColumns(...);const table = createTable(data);
const column = table.createColumns(...);Usage
Warning:
Breaking change
v0.13 - header: (tableState) => RenderConfig.
v0.14 - header: (headerCell, tableState) => RenderConfig.
Table#createColumns: (columns) => Column[]
columns is an array of columns created by Table#column, Table#group, or Table#display.
const columns = table.createColumns([...])const columns = table.createColumns([...])