Hey Blake,
the general idea:
(with-html
(:tr :class (if (> value 0) "good" "bad")
...)
With appropriate CSS stylings for .good and .bad, of course.
Using the datagrid you'd also need to do something like that, but
implement it by subclassing it and futzing around with its rendering
methods.
Leslie
--
You received this message because you are subscribed to the Google Groups
"weblocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/weblocks?hl=en.