Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
305
Implementing Multiselection in UltrawebTree
posted

 

I need some help in this task! :)

I trying to implement the ultrawebtree missing feature (you should think about this!! in your next version) and erything was went rigth...

I have a tree that allows drag (source tree) to another one that accepts drop (target tree)... In the source tree I'm building an array with all nodes that the user had clicked while pressing ctrl key.... When the user drags the selection to target tree, all elements are beeing added via javascripts an after that I'm forcing a postback to the server. The UltreWeb tree has a great behaviour because it generates one add event at server side for each just added element (gooooooddd).

Nevertheless, I'm having some problems related with visual effect...  When the user is picking the nodes (holding the ctrl key) I'm setting the style of just added node with the selected style (seems good)... But when I start to drag, I must click over a node... But that node has a diferent color (it seems to be a ligth blue) that I don't  know how to modify.

Anyone may give me some help?? If you help me I promess that I will give you the code that supports multi-selection!! :)

TIA,

Carlos Marcão (Altitude Software, Portugal)