This project is deprecated. Use DevExtreme Vue instead.

DxTableRowDetail Plugin Reference

A plugin that renders detail rows.

Import

Use the following statement to import a plugin with embedded theme components:

import { DxTableRowDetail } from '@devexpress/dx-vue-grid-bootstrap4';

If you want to use custom components, you can import the themeless plugin:

import { DxTableRowDetail } from '@devexpress/dx-vue-grid';

User Reference

Dependencies

Properties

Name Type Default Description
contentComponent? DxTableRowDetail.DxContent   A component that renders the detail row’s content within the detail cell.
cellComponent DxTableRowDetail.DxCell   A component that renders a detail cell.
rowComponent DxTableRowDetail.DxRow   A component that renders a detail row.
toggleCellComponent DxTableRowDetail.DxToggleCell   A component that renders a cell containing the expand/collapse control.
toggleColumnWidth number   Specifies the width of the column containing expand/collapse controls.
rowHeight? number   Specifies the detail row height.

Component Types

DxTableRowDetail.DxContent

Props

Field Type Description
row any A row.

DxTableRowDetail.DxCell

Props

Field Type Description
tableRow TableRow Specifies a table row.
tableColumn TableColumn Specifies a table column.
colSpan? number The count of columns that the root cell element spans.
rowSpan? number The count of rows that the root cell element spans.
row any A row.

Slots

Field Description
default The default Vue slot.

DxTableRowDetail.DxRow

Props

Field Type Description
tableRow TableRow A table row.
row any A row.

Slots

Field Description
default The default Vue slot.

DxTableRowDetail.DxToggleCell

Slots

Field Type Description
tableRow TableRow Specifies a table row.
tableColumn TableColumn Specifies a table column.
colSpan? number The count of columns that the root cell element spans.
rowSpan? number The count of rows that the root cell element spans.
row any A row.
expanded boolean Specifies whether to expand the detail row.

Events

Field Type Description
toggle () => void An event that initiates row expanding or collapsing.

Plugin Components

Name Type Description
DxTableRowDetail.components.DxContent DxTableRowDetail.DxContent A component that renders the detail row’s content within the detail cell.
DxTableRowDetail.components.DxCell DxTableRowDetail.DxCell A component that renders a detail cell.
DxTableRowDetail.components.DxRow DxTableRowDetail.DxRow A component that renders a detail row.
DxTableRowDetail.components.DxToggleCell DxTableRowDetail.DxToggleCell A component that renders a cell containing the expand/collapse control.

Plugin Developer Reference

Imports

Name Plugin Type Description
tableColumns Getter Array<TableColumn> Table columns.
tableBodyRows Getter Array<TableRow> Body rows to be rendered.
expandedDetailRowIds Getter Array<number | string> Expanded rows IDs.
toggleDetailRowExpanded Action ({ rowId: number | string, state?: boolean }) => void Expands/collapses the specified row. The state argument specifies whether the rows should be selected (true), deselected (false), or their selection status should be set to the opposite value (undefined).
tableCell Template object? A template that renders a table cell.
tableRow Template object? A template that renders a table row.

Exports

Name Plugin Type Description
tableColumns Getter Array<TableColumn> Table columns, including the detail cell.
tableBodyRows Getter Array<TableRow> Body rows to be rendered, including detailed rows.