Simple table

A simple stateless table leveraging the columns configuration.

Title
Time
Event Type
Status
Probability
Severity
Priority
 
Event 12020-03-20Anomaly detectionClosed1%CriticalHigh
Event 22020-03-20Anomaly detectionOpen2%MajorMedium
Event 32020-03-20Anomaly detectionClosed3%AverageLow
Event 42020-03-20Anomaly detectionOpen4%MinorHigh
Event 52020-03-20Anomaly detectionClosed5%CriticalMedium
Event 62020-03-20Anomaly detectionOpen6%MajorLow
Event 72020-03-20Anomaly detectionClosed7%AverageHigh
Event 82020-03-20Anomaly detectionOpen8%MinorMedium

No data table

Custom content, like an HvEmptyState, can be displayed inside table cells, by leveraging the native colSpan feature.

Name
Age
Role
No data to display.

Client-side table

A client-side table supporting the most commonly used table features: row sorting, selection, and actions, sticky header and columns, pagination, and bulk actions.

Title
Time
Event Type
Status
Probability
Severity
Priority
Event 12020-03-20Anomaly detectionClosed1%CriticalHigh
Event 22020-03-20Anomaly detectionOpen2%MajorMedium
Event 32020-03-20Anomaly detectionClosed3%AverageLow
Event 42020-03-20Anomaly detectionOpen4%MinorHigh
Event 52020-03-20Anomaly detectionClosed5%CriticalMedium
Event 62020-03-20Anomaly detectionOpen6%MajorLow
Event 72020-03-20Anomaly detectionClosed7%AverageHigh
Event 82020-03-20Anomaly detectionOpen8%MinorMedium
Event 92020-03-20Anomaly detectionClosed9%CriticalLow
Event 102020-03-20Anomaly detectionOpen10%MajorHigh
Show
rows
/ 13

Filtering

Row filtering and global filtering can be configured by leveraging the useHvFilters and useHvGlobalFilter hooks respectively.

Title
Time
Event Type
Status
Probability
Severity
Priority
Event 12020-03-20Anomaly detectionClosed1%CriticalHigh
Event 22020-03-20Anomaly detectionOpen2%MajorMedium
Event 32020-03-20Anomaly detectionClosed3%AverageLow
Event 42020-03-20Anomaly detectionOpen4%MinorHigh
Event 52020-03-20Anomaly detectionClosed5%CriticalMedium
Event 62020-03-20Anomaly detectionOpen6%MajorLow
Event 72020-03-20Anomaly detectionClosed7%AverageHigh
Event 82020-03-20Anomaly detectionOpen8%MinorMedium
Event 92020-03-20Anomaly detectionClosed9%CriticalLow
Event 102020-03-20Anomaly detectionOpen10%MajorHigh
Show
rows
/ 13

Grouping

Example of header grouping and row expansion via grouping

Status
Title
Time
Type
Probability
Event
Severity
Priority
Closed (6)Avg. 6%
Event 12020-03-20Anomaly detection1%CriticalHigh
Event 32020-03-20Anomaly detection3%AverageLow
Event 52020-03-20Anomaly detection5%CriticalMedium
Event 72020-03-20Anomaly detection7%AverageHigh
Event 92020-03-20Anomaly detection9%CriticalLow
Event 112020-03-20Anomaly detection11%AverageMedium
Open (6)Avg. 7%
Event 22020-03-20Anomaly detection2%MajorMedium
Event 42020-03-20Anomaly detection4%MinorHigh
Event 62020-03-20Anomaly detection6%MajorLow
Event 82020-03-20Anomaly detection8%MinorMedium
Event 102020-03-20Anomaly detection10%MajorHigh
Event 122020-03-20Anomaly detection12%MinorLow

Other examples

You can find more table examples in our Stackblitz Tables collection. In there, you’ll find various custom table use-cases, such as server-side, infinite scroll, sticky column resizing, etc.