Welcome, Guest
Please Login or Register.    Lost Password?

Column Alignment
(1 viewing) (1) Guest
This is the optional Forum header for the Suggestion Box.
Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Column Alignment
#694
Column Alignment 1 Year, 5 Months ago Karma: 0
I would like a feature in the Grid Edit page to specify column alignment. That way $$$ fields can be aligned to the right, like they should be

This seems to be an easy addition as you already have a function built in to specify column width. I tried adding my own function, but it did not work. I am sure I missed something as I am not a "coder".

Please let me know if this feature can be added, and i so, how?
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tslat
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#711
Re: Column Alignment 1 Year, 5 Months ago Karma: 5
This shouldn't be such a hard work. In fact, we might implement it sooner or later. But the best way to implement it is exactly in the way that column width is implemented. Any detailed explanation would be too extensive.

Regards,

Tomaž
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tomaz
Moderator
Posts: 282
graph
User Offline Click here to see the profile of this user
Reply Quote
 
#1326
Re: Column Alignment 3 Months ago Karma: 0
Was hoping this was going to be implemented in the new version I just purchased and uploaded onto my site. Still no column alignment option. As you can see by clicking the link, when using the Grid for numerical data, it doesn't look professional.

siouxfallswine.com/index.php?option=com_...270083&Itemid=35

I am not a coder and haven't the foggiest idea how to add the feature myself. It doesn't seem like it would be difficult for someone who knows what they are doing. I would be willing to pay someone for their time to implement this for me.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tslat
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#1329
Re: Column Alignment 3 Months ago Karma: 5
Hi,

I am sorry that the column alignment was not implemented. But on the other hand some css classes were added, which can sufficiently solve your problem.

Try adding the following code to your template css file.
Code:


.tableJX4PRICE, .tableJX4VIP1, .tableJX4VIP6{
text-align:right;
}



The code can also be added to components/com_grid/css/grid.css instead of your template css file.

You can find more on this topic in the following post.
toolsjx.com/support/3-suggestions/1304-nl2br-line-break#1313
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tomaz
Moderator
Posts: 282
graph
User Offline Click here to see the profile of this user
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: tomaz
Tools JX, Powered by Joomla!; Joomla templates by SG web hosting