3.2.0

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
May 10,
Interestingly I had the same question just two weeks ago:

http://activewidgets.com/javascript.forum.4834.0/how-to-define-row-header.html

It would be great if someone could give me a pointer to the solution.

Andreas
May 10,
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)
May 12,

This topic is archived.

See also:


Back to support forum