Page 1 of 1
grid / column
Posted: Wed Jun 05, 2019 3:15 am
by svi
Hello,
I want (in a grid loaded via a sql query) to center one of my columns.
In the example below I want the Depot column to be centered and the QTT and stock columns to be right-justified.
Thank you
Re: grid / column
Posted: Wed Jun 05, 2019 10:35 am
by Scott Klement
The grid has a "text align" property that controls how the text in the cells are aligned. It can be set to a comma separated list of values (left,right,center, etc) to control how each column is aligned.
1. Find the grid's "text align" property.
2. Select "Other...", this should give you a blank where you can type anything you wish.
3. Type: left,left,center,left,right,right
You may want to also set the "header text align" property. This works the same way, but controls the header row of the grid.
Re: grid / column
Posted: Wed Jun 05, 2019 10:53 am
by svi
Nichel Chrome !!
thank you Scott