:: Forum >> Version 1 >>

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
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
Tuesday, May 10, 2005
Andreas,

here is an example:

<style>
    .
active-appearance-bold {
        
colorred;
        
font-weightbold;
    }

</
style>

<
script>

...
    function 
appearance(){
        var 
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