Example of Cell Alignment in Javascript Tree Grid Control

/
/
Cell Alignment

This sample demonstrates the text alignment functionalities of the Tree Grid columns.

More Details...

Column
Cell Alignment
Description

Align both content and header text of particular column using the textAlign property of columns. There are four possible ways to align content and header text of column, they are. Right Left Center Justify In this sample, we have initially set the textAlign property as “Right” for Duration, Start Date and End Date columns and also we have an option to align the values of content and header text dynamically by select the column and text align value from property panel.