Logo FluentUI

TreeDataGrid QML Type

A hierarchical tree data grid. More...

Import Statement: import FluentUI.Controls 1.0

Properties

Detailed Description

TreeDataGrid displays hierarchical data in a tree-structured grid with expandable and collapsible rows. It combines the features of a tree view and a data grid, allowing each row to display multiple columns of data.

Property Documentation

alternatingRows : bool

Whether alternating rows are displayed with different background colors to improve readability.

columnWidths : list<real>

The list of column width values, one for each column in the grid. Controls the initial and default width of each column.

model : TreeDataGridModel

The hierarchical data model providing the tree structure and column data for the grid. This model defines the parent-child relationships and the data for each row.

selectionModel : ItemSelectionModel

The selection model managing the currently selected rows and the selection behavior in the tree grid.

view : var

Provides access to the underlying view implementation. This property is read-only and exposes the internal list view or table view used to render the tree data.