https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/

WHERE onr_sponsored = Yes, highlight entire row

  • biru32
  • biru32's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 8 months ago #961

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

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #968

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.

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.132 seconds

Contact Us

Contact us on Discord

Contact us on Facebook