SimpleTable
The SimpleTable
component is a simplified version of the DataTable
. It is
designed to handle small sets of data and markdown representation. It does not
feature sorting, resizing, filtering, or virtualization and behaves like a
native HTML table.
Import
import { SimpleTable } from '@dynatrace/strato-components-preview/tables';
Use Cases
Configure text alignment
By default, text within a cell is left-aligned and vertically centered. To
explicitly control the text alignment for a column, set the alignment
property
in the column definition.
Configure the variant
The visual look of the SimpleTable
can be adjusted using the variant
prop.
It allows you to configure the font style, a containing border, the row density,
as well as row and column separation.
Still have questions?
Find answers in the Dynatrace Community