When a node is deleted and the setData() method is called, the deleted node
disappears and focus shifts to the next sibling down. But I would have
expected the "changeSelection" event to have fired for that sibling. In this
case, I have to manually click it to fire the event. Is there an event that
gets fired in this scenario?

thanks ...
-deech

On Wed, Sep 2, 2009 at 1:17 PM, aditya siram <[email protected]> wrote:

> That was it! Thanks!
> -deech
>
> On Wed, Sep 2, 2009 at 1:09 PM, Derrell Lipman <
> [email protected]> wrote:
>
>> On Wed, Sep 2, 2009 at 14:00, aditya siram <[email protected]>wrote:
>>
>>> Hi all,
>>> I currently have a node in a TreeVirtual that when selected show a
>>> "Delete" button. When  that button  is clicked the 'nodeId' of this node is
>>> deleted from the TreeVirtual dataModel, but the node stays visible. It only
>>> disappears when  I close and open the parent branch. Is there a way to
>>> change this behavior?
>>>
>>>
>> Often, it is desirable to make a number of changes to the model without
>> the screen constantly repainting. Therefore when you modify the model,
>> nothing is updated on the screen until you say it's time to do so. You cause
>> the widget to be refreshed from the data model by issuing a call to
>> datamodel.setData() with an empty parameter list.
>>
>> Cheers,
>>
>> Derrell
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to