Welcome, Guest
Please Login or Register.    Lost Password?

Data change colors
(1 viewing) (1) Guest
Welcome to the ToolsJX forum!


Go to bottomPage: 1
TOPIC: Data change colors
#468
Data change colors 4 Months ago Karma: 0
Hello,

How do you set the data to show different colors? For example, I want to display a dashboard where if the cell shows Bear...it will be shown in red....if the cell shows Bull....it will be shown in green?


-manesh
sunman4008
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#478
Re:Data change colors 4 Months ago Karma: 1
Cell by cell output of the data is processed in components/com_grid/layouts/GridView.php around line 270.

To apply this feature, you have to be familiar with coding.

Regards,
Tomaž
tomaz
Expert Boarder
Posts: 89
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#538
Re:Data change colors 3 Months, 1 Week ago Karma: 0
Hello,

I found it. What is the variable that allows access to the value?

-Manesh
sunman4008
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#539
Re:Data change colors 3 Months, 1 Week ago Karma: 1
I think that "$podatek" is what you want.
tomaz
Expert Boarder
Posts: 89
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