arvind
arvind

Reputation: 17

smartgwt highlighting Tree node text

I want to highlight/ change color of the text of a tree node in smartgwt. I tried TreeGrid.selectRecord(node) which works, but this creates a background for the width of the tree.

I just want to highlight the text(title of the node) or change the text color of the title of the node.

Can this be done?

Upvotes: 1

Views: 569

Answers (1)

RAS
RAS

Reputation: 8156

You can use the following:

treeNode.setCustomStyle(stylename);

You may also take a look at this link.

Upvotes: 2

Related Questions