Welcome, Guest
Please Login or Register.    Lost Password?

Space in the beginning of every cell?
(1 viewing) (1) Guest
Welcome to the ToolsJX forum!


Go to bottomPage: 1
TOPIC: Space in the beginning of every cell?
#289
Space in the beginning of every cell? 5 Months, 2 Weeks ago Karma: 0
I'm using TableJX and i'm wondering why is there a space infront of every cell? Is it my fault or is it sopposed to be this way?

The second thing is I'm wondering about is how to make numbers (price for example) display thousands separators?

But besides that I'm very pleased with your product.
parkentosh
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#290
Re:Space in the beginning of every cell? 5 Months, 2 Weeks ago Karma: 1
Hi,

space in front of each line is because of design. You can change this or even create your own design by modifying GridView.php.

Space is:  

About formating:

mysql> SELECT FORMAT(12332.123456, 4);
-> '12,332.1235'

You can create view as select on your existing data.

Best regards,
Viljem
viljem
Admin
Posts: 145
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#291
Re:Space in the beginning of every cell? 5 Months, 2 Weeks ago Karma: 0
Thanks,

There are no spaces anymore, but I didn't quite understand how I can change the format in one column. Am I supposed to change something in phpmyadmin or in one of the .php files in the grid folder.

Best of luck,
Silver
parkentosh
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Tools JX, Powered by Joomla!; Joomla templates by SG web hosting