convertToColumns
The convertToColumnsV2
function takes a set of Grail field types and converts
it to table columns that can be used in the DataTableV2
.
Import
import { convertToColumnsV2 } from '@dynatrace/strato-components-preview/conversion-utilities';
Use cases
Pass an array in the format of RangedFieldTypes
and receive an array of
columns that can be plugged into the DataTable.
Convert query records to table columns
Still have questions?
Find answers in the Dynatrace Community