"columnHeaderAlignment "
    
    The alignment of the table header.
Synopsis
setValue(string shape, "columnHeaderAlignment", int idx, string
                alignment);
getValue(string shape, "columnHeaderAlignment", int idx, string
                &alignment);
shape.columnHeaderAlignment(int idx, string alignment);
Parameter
| Parameter | Description | 
|---|---|
| shape | Name of the object | 
| idx | Column index | 
| alignment | Alignment setting (see options below) | 
Description
The functions allows to define the alignment of the header. Following options are available:
- AlignNone
 - AlignLeft
 - AlignRight
 - AlignHCenter
 - AlignTop
 - AlignBottom
 - AlignVCenter
 - AlignTop | AlignLeft
 - AlignTop | AlignHCenter
 - AlignTop | AlignRight
 - AlignVCenter | AlignLeft
 - AlignVCenter | AlignHCenter
 - AlignVCenter | AlignRight
 - AlignBottom | AlignLeft
 - AlignBottom | AlignHCenter
 - AlignBottom | AlignRight
 
For the usage of vertical alignments the minimum height of the table header should be increased by using Stylesheets, e.g.: TableQT QHeaderView { min-height: 60px; }
            
            Example
        
This example sets the alignment to horizontally centered.
main()
{
  table.columnHeaderAlignment(table.nameToColumn("#2"), "AlignHCenter");
}
        Assignment
Table
