Is there a way to Align the Table Column Headers with the actual Content?
It seems like, as a rule, Text is aligned left, Dates are aligned Center, and Numbers are aligned right in the Query tables... However ALL the headers are aligned left. It would look a lot cleaner if the Column header can have the same alignment as the actual data.
Has anyone noticed this and found a solution for this before?
Query Column Header Alignment Question
-
- Posts: 345
- Joined: Mon Nov 12, 2012 9:08 pm
- Location: South Africa
Query Column Header Alignment Question
Hein Hanekom & Werner Hanekom
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
-
- Posts: 303
- Joined: Wed Apr 22, 2015 11:44 pm
Re: Query Column Header Alignment Question
I have the same question. Are there any examples of how to do this?
Re: Query Column Header Alignment Question
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
-
- Posts: 303
- Joined: Wed Apr 22, 2015 11:44 pm
Re: Query Column Header Alignment Question
So, nothing right now, but there is hope?
-
- Posts: 620
- Joined: Wed Jun 17, 2015 11:16 pm
- Location: Omaha, Nebraska
- Contact:
Re: Query Column Header Alignment Question
It's not out of the box, but ...
Query Init Script:
Query Init Script:
Code: Select all
config.columns.map(function(column){column.headerAttributes = {style: column.attributes.style}})
VocalDay Solutions - Agility - Predictability - Quality
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
Re: Query Column Header Alignment Question
guys, you can already do this.
its in my post, actually, that i referred to.
I made a pic of a suggestion to make it easier.
click one of those attributes
click edit
click Column Header Style...
add alignment
its in my post, actually, that i referred to.
I made a pic of a suggestion to make it easier.
click one of those attributes
click edit
click Column Header Style...
add alignment
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
-
- Posts: 303
- Joined: Wed Apr 22, 2015 11:44 pm
Re: Query Column Header Alignment Question
Thanks Jaymer,
As a side to that...
Is it possible to override the location of the actual data element on the grid? So, that Yes/No or Date fields get left justified instead of centered, or a Numeric is centered instead of right justified.
The column settings options that you mentioned seem to only apply to the Headers, not the actual data.
As a side to that...
Is it possible to override the location of the actual data element on the grid? So, that Yes/No or Date fields get left justified instead of centered, or a Numeric is centered instead of right justified.
The column settings options that you mentioned seem to only apply to the Headers, not the actual data.
Re: Query Column Header Alignment Question
Jim
You set Alignment for data in the field setup. "Styles" property
You set Alignment for data in the field setup. "Styles" property
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL