开发者

Link button in tree at end of each parent node

开发者 https://www.devze.com 2023-02-25 07:40 出处:网络
I need to have link buttons at end of each parent node as shown below ->IBM Machines (rename | delete | disable)

I need to have link buttons at end of each parent node as shown below

->IBM Machines (rename | delete | disable)
    Child 1
    Child 2
  开发者_JS百科  Child 3
->Sony ( rename | delete | disable)
    Child 1
    Child 2
    Child 3

rename, delete and diasble are link buttons. I have tried with label function and other methods also but not able get the exact requrement. Please help me as how to achieve this.


For something like this, you should ideally use an itemrenderer.... for details on itemrenderer for trees , check http://livedocs.adobe.com/flex/3/html/help.html?content=cellrenderer_8.html , under the heading Using item renderer with tree control.

That specifically shows, adding your own custom labels, for parents in a tree control.

0

精彩评论

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