SimpleTableV2
The SimpleTableV2 component is a simplified version of the DataTableV2. 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.
SimpleTableV2Props
Signature:
export declare type SimpleTableV2Props< = > = <> &  &  & ;SimpleTableV2BaseProps
extends
| Name | Type | Default | Description | 
|---|---|---|---|
| data | [] |  | Data given to the SimpleTableV2. Needs to be memoized in order to ensure performant update cycles. | 
| columns | <>[] |  | Column definition given to the SimpleTableV2. Needs to be memoized in order to ensure performant update cycles. | 
| variant? | {
        /**
         * rowSeparation can be set to  which will provide lines between rows or
         * can be set to  which will provide alternate row coloring.
         * @defaultValue 
         */
        rowSeparation?:  |  | ;
        /**
         * If true provides vertical lines between the columns.
         * @defaultValue false
         */
        verticalDividers?: ;
        /**
         * If true provides a border for the table.
         * @defaultValue true
         */
        contained?: ;
        /**
         * rowDensity adds spacing around the content inside the row
         * with minimal space for , maximum spacing for  and
         *  being medium spacing.
         * @defaultValue 
         */
        rowDensity?:  |  | ;
        /**
         * fontStyle, sets the font style for the entire data table.
         * This does not overwrite  fontStyle set at the lower level, like columns etc.
         * @defaultValue 
         */
        fontStyle?:  | ;
    } |  | Configures the variant on the data table, impacting the visual representation. | 
Still have questions?
Find answers in the Dynatrace Community