Library Vcl NextSuite 6 NextGrid6 Articles Tree Column

Tree Column

This tutorial will explain workflow for working with Tree Column and tree structure of the grid.

Adding new column

Tree column can be added by opening Columns Editor and then clicking on TNxTreeColumn6 button (located under Additional tab).

Adding rows

Root (top-level) rows are added as normal rows by calling AddRow method.

NextGrid6.AddRow(3); // If more than one top-level rows is needed

Child rows are added by calling AddChildRow method.

Sign in