grid / column

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
svi
Profound User
Posts: 20
Joined: Mon Feb 04, 2019 10:56 am
First Name: stephane
Last Name: villeminot
Company Name: alcyon france
Country: France
Contact:

grid / column

Post 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
Attachments
Capture.PNG
Capture.PNG (7.32 KiB) Viewed 627 times
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: grid / column

Post 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.
svi
Profound User
Posts: 20
Joined: Mon Feb 04, 2019 10:56 am
First Name: stephane
Last Name: villeminot
Company Name: alcyon france
Country: France
Contact:

Re: grid / column

Post by svi »

Nichel Chrome !!
thank you Scott
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests