PDA

View Full Version : Move nodes within TreeGrid



A.Rothe
10 Nov 2011, 12:25 AM
Hi,

I have a TreeGrid and I move some ModelData objects from one parent to another (no DnD, only with ModelData.setParent()). But the tree needs an update, it shows only the old state of the store. What should I do?

Thanks
Andre :-?

sven
10 Nov 2011, 12:30 AM
You need to use the store methods for this, not the model methods.

First remove the item from the store and than add it to the new parent.