Welcome, Guest
Please Login or Register.    Lost Password?

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


Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Data change colors
#468
Data change colors 1 Year, 9 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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
sunman4008
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#478
Re:Data change colors 1 Year, 9 Months ago Karma: 5
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ž
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
 
#538
Re:Data change colors 1 Year, 8 Months ago Karma: 0
Hello,

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

-Manesh
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
sunman4008
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#539
Re:Data change colors 1 Year, 8 Months ago Karma: 5
I think that "$podatek" is what you want.
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