How can I make all entries of the first level (Arts & Music

How can I make all
entries of the first level (Arts & Music, Business & Finance, Cars,
…) bold and 12px font size, while making all other sub-level entries non-bold
and 11px font size?

Use setItemStyle(itemId,style_string) to set
individual item style, where style_string is valid CSS string.

For example:

fatList = tree.getAllFatItems();

fatArray = fatList.split(’,’);

   for(var i = 0; i < fatArray.length;
i++){

    if(tree.getLevel(fatArray[i])==1)

         
tree.setItemStyle( fatArray[i],“color: red”) }

 Also next trick can be used

 .containerTableStyle table table .standartTreeRow {

           
//first level in  tree

}

.containerTableStyle table table table
.standartTreeRow {

           
//second level in tree

}

.containerTableStyle table table table table
.standartTreeRow {

           
//third level in tree

}