Thank you ! That's working perfectly. Expect I didn't actually use delegate#createItem but delegate#configureItem which seems to be more accurate for the job. Am I right ?
Yoran. Le Fri, 1 Aug 2014 17:53:31 +0000, Mustafa Sak <mustafa....@1und1.de> a écrit : >Hi, > >You have to set the property "droppable" to true for all tree items. > >You can do so by using the delegation function "createItem". > >I am currently not at office so I can not support you with a link, but >you should take a look to the qooxdoo manual. > >Regards. > >Von meinem iPhone gesendet > >> Am 01.08.2014 um 19:37 schrieb "Yoran Brault" >> <site.qoox...@arnumeral.fr>: >> >> Hi, >> >> I'm trying to figure out how to handle drag'n'drop between two >> virtual trees. More specifically, I'm trying to allow/disallow >> dropping according to target nature. >> >> To do that, I listen, as explained in the documentation, the >> 'dragover' event in order to "prevent default" depending of the >> overred item. >> >> Unfortunately I receive this event only once, basically when the >> cursor fly enter in the widget. And so, there is no new event when >> it change from one tree item to another. >> >> Anyone have an idea about how to do this ? >> >> Yoran >> >> ------------------------------------------------------------------------------ >> Want fast and easy access to all the code in your enterprise? Index >> and search up to 200,000 lines of code with a free copy of Black Duck >> Code Sight - the same software that powers the world's largest code >> search on Ohloh, the Black Duck Open Hub! Try it now. >> http://p.sf.net/sfu/bds >> _______________________________________________ >> qooxdoo-devel mailing list >> qooxdoo-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > >------------------------------------------------------------------------------ >Want fast and easy access to all the code in your enterprise? Index and >search up to 200,000 lines of code with a free copy of Black Duck >Code Sight - the same software that powers the world's largest code >search on Ohloh, the Black Duck Open Hub! Try it now. >http://p.sf.net/sfu/bds >_______________________________________________ >qooxdoo-devel mailing list >qooxdoo-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel