E2E Forum › User Interfaces › How to align the values in the table columns
This topic contains 0 replies, has 1 voice, and was last updated by Andi 3 years, 5 months ago.
By default, string values are aligned left and numeric values aligned right in the column. But sometimes it looks nicer to have the values of a column aligned in the center.
To achieve this, just add the following script in the drawCallback operation on the <<UITableBinding>> usage dependency of your table:
// enable center columns
Then add at the <<UIColumnBinding>> on the tagged value ‘cssClass’ the value ‘center-column’ for every column you want to have centered.
You must be logged in to reply to this topic.