Buy Now
Sign in

How to add html class to a table ROW, or programmatically to a CELL?

healyhatman , April 27 2018
NickOg 677
July 25 2018 #379236
Perhaps Max will pick up and add to the base set.
healyhatman 5.0
July 25 2018 #379237
I sent my code to him via email. Hopefully he'll make a nicer version of it and add it in.
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman

You can now copy+paste code from forums
T
Twincarb 122
October 11 2018 #380715
@healyhatman,
Can you provide an example of putting this into action, with one of my tables I wish to colour a row depending on a value that isn't displayed on the table but is held within the function that is being displayed.
I presume that I would be looking at a php routine to check if the row contains the required value and then outputs the class based on it.
I have no idea if this is achievable or not, within the Functions area I have only ever used the read database functions!
healyhatman 5.0
October 11 2018 #380719
{fn:some function}
The data you need should be stored in $this->get("table_name.row.model.field", "default");
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman

You can now copy+paste code from forums