PDA

View Full Version : Tree Component, refresh method


jaime
11-18-2005, 08:11 PM
Does the refresh method even work?

I've consistently placed it at the end of coding, but I see no effect whatsoever from it. I've attached it to a button component as well, still nothing.

Can anyone inform me what it is ACTUALLY supposed to do or if it even works.

Thanks.

jaime
11-21-2005, 02:45 AM
any help would be great.. ;]

kcolgan
07-10-2008, 09:27 AM
I had exactly the same problem and found a surprising solution: simply set the dataProvider of the Tree to itself (this seems to trigger the internal refresh mechanism that actually works!). e.g.

treeInstance.dataProvider = treeInstance.dataProvider

this works for me.