Ralf Sternberg <[EMAIL PROTECTED]> writes:

> Hi Derrell,
>
> [EMAIL PROTECTED] schrieb:
>> Ralf, would you please try the following.  I don't have the time to test it
>> right now, but on visual inspection it seems like this should work.  If it
>> works, I'll add it to the distribution...
>> 
>> In the file
>> 
>>   frontend/framework/source/class/qx/ui/tree/AbstractTreeElement.js
>> 
>> find the method destroy().  You'll see that the destroy method immediately
>> follows the getLabelObject() method.  Copy that entire destroy() method and
>> insert it into to the matching file in the treevirtual subdirectory
>> 
>>   frontend/framework/source/class/qx/ui/treevirtual/AbstractTreeElement.js
>> 
>> You can place it, as in the other file, immediately following the
>> getLabelObject() method.
>> 
>> In your application, call the destroy() method instead of the sequence of
>> commands you have there currently to remove an item from the tree.
>> 
>> Please let me know if that destroy() method, stolen from tree and inserted
>> into treevirtual, works as desired.
>
>
> Yes, that does the trick. Thank you very much, that was a great help :-)
>
> Ralf

Thanks.  I'll get it checked in to trunk.  I'm not sure I want to check it in
to 0.6.x since it's not a bug fix but rather a new feature.  I'll have to
think about that.

Cheers,

Derrell

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to