Trying to get classes applied to each TD in a column so I can control for of the css formating. My understanding is that the above code should place the class=“col-rank” inside each td of the Rank column etc. but the classes are not being applied into the competitor fields.
Hi,
Just to clarify, where are you putting these? I which file?
It depends upon what command you are using to publish with.
Are you using Publish results or Publish ResultsV2
Have you looked at the ResultsV2.htm included as standard
These use string.set("summary.col.race.rank3.td", "rank3")
as an example. Looking at the source code you should be able to use either string.set or class.set
I can see the documentation does say class.set but all the working code is using string.set.
Perhaps you could give an example of what you wish to achieve and I’ll see if I can check it out for you. I am however, very shortly off to Turkey to score the Techno World Championships. so a little short of time.