The TreeList automatically adapts its layout to screens with different sizes. In this demo, you can switch between horizontal and vertical screen orientations. If columns do not fit the selected orientation, the TreeList hides them one by one, starting with the rightmost column. Information from the hidden columns is still available in adaptive detail rows.
To enable this feature, set the columnHidingEnabled property to true.
The TreeList hides columns based on their hiding priorities. Columns with lower priority values are hidden first. You can use the columns.hidingPriority property to specify custom hiding priorities for those columns that you want to hide. Other columns will never be hidden.