tags:

views:

390

answers:

2

Hello All,

I'm sure this is really simple, but i can't seem to find it anywhere!

All I am trying to do is change the displayed value of a tree node. I thought that tree.getNodeById(myNode).text='HHHHH'; or tree.getNodeById(myNode).value='HHHHH'; would do the trick, but i get nothing. What am i missing?

Thanks

Craig

+1  A: 

It's:

tree.getNodeById(myNode).setText('HHHHH');
rodrigoap
Thanks! I was pulling my hair out trying to find it!
Craig
A: 

Thanks, It solved my problem

dipak