convertToColumns
The convertToColumns function takes a set of Grail field types and converts it
to table columns that can be used in the DataTable.
Import
import { convertToColumns } from '@dynatrace/strato-components-preview/tables';
Use cases
Pass an array in the format of RangedFieldTypes and receive an array of
columns that can be plugged into the DataTable.