foto1
Make it simple to transparently display data on a website. Tools JX is a set of database reporting tools for Joomla! All of them are made to be very intuitive and as simple to use as possible.
foto1
Paid Downloads is a solution for you! It is a lightweight and simple-to-use extension, that makes your e-commerce simple and manageable. It uses PayPal's service to execute transactions.


Tools JX

Joomla plugins


Welcome, Guest
Username: Password: Remember me

TOPIC: WHERE onr_sponsored = Yes, highlight entire row

WHERE onr_sponsored = Yes, highlight entire row 3 years 11 months ago #961

  • biru32
  • biru32's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
Hi, I would like to know if it's possible to add the following Where statement with Grid? I'm not sure how the script needs to look, but if it's possible, can someone help?

I would simply like to have the entire displayed row highlight if a particular field is displaying "Yes".

See example table: landry-web-designer.net/joomla_test/inde...icle&id=48&Itemid=57

If OnR Sponsored field is displaying "Yes" then I would like to have the entire row highlighted.

Thanks!

Jason
The administrator has disabled public write access.

Re:WHERE onr_sponsored = Yes, highlight entire row 3 years 11 months ago #968

  • tomaz
  • tomaz's Avatar
  • OFFLINE
  • Administrator
  • Posts: 751
  • Thank you received: 51
  • Karma: 8
Hi,

It is possible. However it requires a bit of programming skills. If you want to figure out by yourself, you can look at components/com_grid/views/GridView.php.

While fetching and displaying data, you have to find your field, check the value, and output a proper html.

But as I said it is quite a job.
How about posting a review on JED? Table JX, Card View JX, Paid Downloads JX
The administrator has disabled public write access.
Time to create page: 0.118 seconds