:: Forum >>
Row Headers with different Styles (some bold)
I am having problems locating information on how to give some row headers a different style than the other ones.
What I would like to accomplish is the following:
Some but not all of my row headers need to have a bold style.
Thanks in advance
Andreas
Tuesday, May 10, 2005
Andreas
Tuesday, May 10, 2005
Andreas,
here is an example:
<style>
.active-appearance-bold {
color: red;
font-weight: bold;
}
</style>
<script>
...
function appearance(){
var i = this.getItemProperty("index");
return myData[i][0].match("SAP") ? "bold" : "normal";
}
obj.getTemplate("left/item").setClass("appearance", appearance);
...
</script>
Alex (ActiveWidgets)
Thursday, May 12, 2005
This topic is archived.
Back to support forum
Forum search