This sample demonstrates the text alignment functionalities of the Tree Grid columns.
The Tree Grid column can be showed/hidden dynamically using
hideColumns method of the Grid.
In this demo, the columns can be showed and hidden by selecting the column name in the dropdown
and click the Show or Hide buttons to toggle visibility. And the columns visibility is toggled based on the
columns->visible property specifies the visibility of a column.
To hide a column at the initial rendering, set the
columns->visible property to false.