Skip to content

OcTable component

Description

The OcTable component represents a table with dynamically generated columns and rows.

There is also a simpler form of the table in the OcTableSimple component. It can't be generated dynamically and needs to be built manually.

Examples

Default

The most basic use case needs fields and data properties.

Fields with slots

fields can also be defined as slots. Additionally, the table supports a slot or the footer.

Disabling and highlighting rows

Specific rows can be disabled or highlighted by referencing the rows by their respective item ids.

Properties

Emits

Slots