Skip to main content

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.

Visual configuration

The SimpleTable allows configuration for its visual look, data density, and data point separation to ensure a clear and functional presentation of the data.

Visual look

Contained

  • Use the contained variant for most cases, mainly when the table plays a prominent role in the visual hierarchy of the view.

An example of a SimpleTable component with the contained setting.

An example of a SimpleTable component with the contained setting.

Uncontained

  • Always use the uncontained variant when the table is the only element inside a Surface.
  • Use for a subtler appearance when the table takes on a secondary hierarchy within its context.

An example of a SimpleTable component with the uncontained setting.

An example of a SimpleTable component with the uncontained setting.

Data density

SimpleTables have three density options that control the standard row height and whitespace in a cell.

Condensed

  • Use the condensed row density to show more information in smaller areas and compact layouts. Consider that cell content might be more challenging for users to scan and distinguish.

An example of a SimpleTable component with the condensed density setting.

An example of a SimpleTable component with the condensed density setting.

Default

  • Use the default row density for datasets where users should process and scan the shown information quickly.

An example of a SimpleTable component with the default density setting.

An example of a SimpleTable component with the default density setting.

Comfortable

  • Use the comfortable row density if you need to improve readability for tables with visually crowded cell content.

An example of a SimpleTable component with the comfortable density setting.

An example of a SimpleTable component with the comfortable density setting.

Data point separation

No separation

  • Use no visual data point separation for simple data sets. For example, if you use a key-value list.

An example of a SimpleTable component with no visual data point separation.

An example of a SimpleTable component with no visual data point separation.

Horizontal dividers

  • Use horizontal dividers to highlight the distinction and separation between rows.

An example of a SimpleTable component with horizontal dividers.

An example of a SimpleTable component with horizontal dividers.

Zebra stripes

  • Consider using zebra stripes for large datasets where users may want to interact with one or more data points in the view. This ensures easier scanning and distinction between rows.

An example of a SimpleTable component with zebra stripes.

An example of a SimpleTable component with zebra stripes.

Vertical dividers

  • Use vertical dividers to separate columns, especially when dealing with a relatively large amount of data points.

An example of a SimpleTable component with vertical dividers.

An example of a SimpleTable component with vertical dividers.

Combined separation

  • Combine zebra stripes and vertical dividers to establish a structured dataset, ensuring row and column distinction for effective readability.

An example of a SimpleTable component with zebra stripes and vertical dividers.

An example of a SimpleTable component with zebra stripes and vertical dividers.

SimpleTable vs. DataTable

All visual parameters are configurable for SimpleTable and DataTable.

SimpleTable

  • Use the SimpleTable for a purely visual representation of tabular data, without support for any significant interactivity such as sorting or loading performance like pagination.

An example of a SimpleTable component with a simple dataset.

An example of a SimpleTable component with a simple dataset.

DataTable

  • Use the DataTable for feature-rich interactions such as dynamic manipulation and to manage datasets with extensive or complex content such as charts.

An example of a DataTable component with an extensive dataset and advanced options.

An example of a DataTable component with an extensive dataset and advanced options.

Still have questions?
Find answers in the Dynatrace Community