Then requery both lists and refresh a panel containing the lists. Otherwise if you need to use two lists, try using ajax, where a click on a value in the list triggers a server action via ajax which moves the item from one list to the other. If there are many values to select from, using select2 with the list control will enable filtering. You can use a ListBox with Select Mode = Multiple If not, you can still use a button click with AJAX instead of drag and drop. Please someone tell me what Im doing wrong. there seems to be absolutly no consistancy whatsoever. It appears you are attempting to implement a multiple selection control. Sometimes I can click and drag files into the program, other times i cant. Otherwise, drag and drop in javascript is tricky to implement, particular as there are differences between browsers. I understand you are attempting to use drap and drop to achieve your goals so if that is mandatory for you, you may ignore my suggestion here. My js is also generally poor, so the goal is to write as much as I can in clojure.Daniël is right, those examples should help you. These are good leads, but even at a minor production scale, I don’t want to waste time trying to flesh out a partial fit or work with outdated tools.
0 Comments
Leave a Reply. |