This example shows the set the cells and columns alignment. The 'column' object of the Grid has 'align' and 'cellsalign' properties with 'left', 'center' and 'right' values. The 'left' setting sets the text alignment of the cell or column to left. The 'center', centers the content. The 'right' option aligns the data grid cell values to 'right'. Right-alignment is usually used for numeric columns.
Loading...