Overview

Columns define the schema of a data source in React Tree Grid component. It supports formatting, column definitions, column chooser, column menu, column reordering, and other important features. The operations such as sorting, filtering, and searching can be performed based on column definitions


Define Columns in React Tree Grid.

Define columns

Define columns explicitly and configure header text, text alignment, value formatting, and width. Column configuration is suitable for datasets that require controlled presentation of individual fields.


Auto size

Automatically adjust column width based on the displayed header or cell content through interaction or programmatically. Column autofit is suitable for columns that require their content to determine the displayed width.

Auto size in React Tree Grid.


Cell Attributes in React Tree Grid.

Cell Attributes

Customize individual cells with attributes, CSS classes, and style settings. Cell customization is suitable for applying field-specific styling or presentation rules within Tree Grid rows.


Text wrap

Wrap header or cell text onto multiple lines based on the configured wrap mode. Text wrapping is suitable for columns that contain lengthy content within defined widths.

Text wrap using in React Tree Grid.


Reorder columns in React Tree Grid.

Reorder

Reorder columns interactively by dragging column headers or programmatically through configuration. Column reordering is suitable for layouts that require fields to appear in a different sequence.


Resize

Resize columns by dragging the column header boundary or by configuring column widths programmatically. Column resizing is suitable for adjusting the space allocated to individual fields within the Tree Grid.

Resize column width in the React Tree Grid.


Column menu in React Tree Grid.

Column menu

Access column-related actions through the column menu and customize which commands are displayed. Column menu configuration is suitable for interfaces that require selected column operations to be available from the header.


Value accessors

Define how a column retrieves and displays a value from its row data. Value accessors are suitable for datasets that require calculated, transformed, or nested values to be presented in a column.

Custom value getter using value accessor in React Tree Grid.


Cell styling in React Tree Grid.

Cell styling

The React Tree Grid supports customization of cell styles by using CSS or programmatically


Choose visible columns using column chooser in React Tree Grid.

Column chooser

Display available columns in a column chooser with controls for changing their visibility. Column chooser is suitable for Tree Grids that require columns to be shown or hidden interactively.


Explore all Syncfusion React components

Explore over 140+ React UI components featuring established, and production-ready controls built for modern web app development.

Scroll up icon
Syncfusion Feedback