[xwiki-users] LiveTable rows in a different colors
Hello! Existing possibility to color rows in a LiveTable depends on a some criteria (for example - value of some class property)? -- Thanks beforehand Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/LiveTable-rows-in-a-different-colors-tp699... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello, I don't think you can do it with the livetable macro columns parameters, but maybe you can adapt the following sample ... : http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro#HAllAtt... (see the callback function) ... and create a specific callback function that will generate the TR and TD elements of the table. Then you could add some css class to the TR (when the condition you want on a field of "row" is true), and use css rules to assign a specific color ? I did not try this but if I had to do that, this is how I would proceed ... Regards, Jeremie 2011/11/13 Eugen Colesnicov <[email protected]>
Hello! Existing possibility to color rows in a LiveTable depends on a some criteria (for example - value of some class property)?
-- Thanks beforehand Eugen Colesnicov
-- View this message in context: http://xwiki.475771.n2.nabble.com/LiveTable-rows-in-a-different-colors-tp699... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Eugen Colesnicov -
Jeremie BOUSQUET