This question about Topic Markup Language and applications: Answered

How can a table row background color be changed conditionally ?

How can I change the background color of a specific table row (highlight) using TML if a specific cell/column in that row contains a defined value ?

-- UlrichHarttig - 09 Jun 2009

Afaik this is not supported per se by the TablePlugin. But what TablePlugin does support, is setting css classes on each table col and row. You could inject some css stuff into your topic, which does the highlithing job (see TablePlugin#CSS_written_by_TablePlugin). To do the "conditional part", you can probably use IfStatements.

I have done something similiar in Question189.

-- OliverKrueger - 09 Jun 2009

See TWiki:Support/TablePluginSettngsOverrideJavaScript.

-- SeanMorgan - 11 Jun 2009

QuestionForm edit

Subject Topic Markup Language and applications
Extension TablePlugin
Version TWikiRelease04x02x02
Status Answered
Topic revision: r3 - 11 Jun 2009, SeanMorgan
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy