Good Morning,
I am using Ingtion in perspective and I have a table that is getting information from a SQL query.
Current how can I align the title of the column with the data in the column?
This is my cuurent settings:
Thanks,
Good Morning,
I am using Ingtion in perspective and I have a table that is getting information from a SQL query.
Current how can I align the title of the column with the data in the column?
This is my cuurent settings:
Thanks,
You could change the alignment on the header of each column to match the alignment of the column itself.
For example, set align
property of the ID
header to "right".
If header don't have an align
property, you can add text-align: right
in its styles.
Text columns should left-align.
Numeric columns should right-align for ease of comparison and lining up units, tens, hundreds, etc.
Set
columns.n.justify : right
(where n
is the column number)
columns.n.header.justify : right
I recommend creating a style class, paddingLR
, with 5px or so padding on the left and right. You can then apply this easily to each column to add a little air at each side.
columns.n.style.classes : paddingLR
columns.n.header.style.classes : paddingLR
You can now adjust this by tweaking the style and all columns and headers will update.