How to center the header text of a column in a datagrid ?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
titobal
Posts: 31
Joined: Thu Aug 06, 2009 1:51 pm

How to center the header text of a column in a datagrid ?

Post by titobal » Sun Aug 09, 2009 11:25 am

Hi,

I want to center the header texts / titles of each columns of my datagrid.

THere is an option to center the columns content but not the header title...

Thanks.

Klaus
Posts: 14198
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Sun Aug 09, 2009 12:44 pm

Hi Titobal,

please read the (and download the PDF!) docs of the DataGrid, there you will find useful hints like this and more :)
http://revolution.screenstepslive.com/s ... s/datagrid
...
dgHeaderAlignment [COLUMN]
- Get/set the alignment for a column's header
...

Best

Klaus

titobal
Posts: 31
Joined: Thu Aug 06, 2009 1:51 pm

Post by titobal » Sun Aug 09, 2009 1:12 pm

Cool !

Many thanks again Klaus :-)

Post Reply