开发者

Tree Component Item Rendering

开发者 https://www.devze.com 2022-12-13 10:09 出处:网络
I have created a MyTreeItemrenderer extending TreeItemrenderer. However, I do not want any label, folder, disclosure icon nor icon.

I have created a MyTreeItemrenderer extending TreeItemrenderer.

However, I do not want any label, folder, disclosure icon nor icon. I want to dispaly every node 开发者_Python百科of the tree with my own graphic like eg: a line, round image etc.,

Kindly help me getting the solution.

Thnaks in advance...

Narender R


I think the styles you're looking for are. In this case I'm setting them to null, but you should be able to add a graphic with them.

defaultLeafIcon="{null}"

folderClosedIcon="{null}"

folderOpenIcon="{null}"

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号