skip to main content

Controls Reference : GRID : Properties : Alignment

Alignment
This property defines the alignment for each column of the table. Allowed values are:
Since this setting affects the alignment of every single column, a list of values is needed in order to determine how to align them.
When values are enclosed between parentheses, a new list is defined at once. The snippet below specifies that the 1st column is left aligned and the 2nd column is centered. The other columns, if any, will be unaligned, the default.
ALIGNMENT = ("L", "C")
When set to space or spaces, the list is reset.
When a single value other than space is set, it is appended to the list. This is useful to define a user-defined appearance.
 
Example - Define column alignments by reading them from a Occurs
modify screen-1-gr-1, alignment = spaces | Resets the list of values
perform varying columnidx from 1 by 1 until columnidx > columncount
   modify screen-1-gr-1, alignment = columnalignment(columnidx) | Sets the alignment of the next column

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left