Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 smartgwt 中突出显示/更改树节点文本的颜色。我尝试了有效的 TreeGrid.selectRecord(node) ,但这会为树的宽度创建背景。
我只想突出显示文本(节点的标题)或更改节点标题的文本颜色。
这可以做到吗?
您可以使用以下内容:
treeNode.setCustomStyle(stylename);
你也可以看看这个链接。