Hello
WikiGuest
Log In
or
Register
Users
About
Blog
Extensions
Documentation
Community
Development
Tasks
Download
Support
You are here:
Foswiki
>
Support Web
>
SupportQuestions
>
Question191
(11 Jun 2009,
SeanMorgan
)
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
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r3
<
r2
<
r1
|
B
acklinks
|
V
iew wiki text
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r3 - 11 Jun 2009 - 17:24:55 -
SeanMorgan
Support
Quick Links
Support questions
FAQ's
Tips
Extensions support
Supplemental documents
Wiki consultants
Tools
Tasks
Index
Changes
Changes in all webs
Notifications
Statistics
Sandbox
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see
CopyrightStatement
.