I was only looking at the right side which says "No demo". I found it now.
Add item? If you look at the image in this thread: [REQUEST] Double Select you see extra input above the left list.
I use it in SQL builder where I have fields read from a table in the list and I can add calculated fields (SQL expressions) in free type form in that extra input.
Instead of using images for the buttons as a whole, instead they should use icons and be Ext buttons.
Jeff Howden
Ext JS - Support Team Volunteer jeff@extjs.com
Any and all code samples that are authored by me and posted on the Ext forums or website are hereby released into the public domain and I release anyone or entity of liability by using said code samples unless explicitly stated otherwise.
Opinions are mine and not necessarily endorsed by Ext, LLC. Please do not contact me directly for assistance unless requested by me.
That is really cool! i was looking for something like this. Just one question though - will i be able to use a datastore and a reader combination instead of giving the values directly in the config?
That is really cool! i was looking for something like this. Just one question though - will i be able to use a datastore and a reader combination instead of giving the values directly in the config?
Yes you can use stores etc. Use the 'fromStore' and 'toStore' config options in the constructor.
+1 to "move to top" and "move to bottom" buttons
+1 to an optional text input above the list on the left
-1 to forcing single-selection for keyboard nav, at least left/right arrows.
Jeff Howden
Ext JS - Support Team Volunteer jeff@extjs.com
Any and all code samples that are authored by me and posted on the Ext forums or website are hereby released into the public domain and I release anyone or entity of liability by using said code samples unless explicitly stated otherwise.
Opinions are mine and not necessarily endorsed by Ext, LLC. Please do not contact me directly for assistance unless requested by me.
Shouldn't we agree on a single definition of a DraggableView/DDView so that the Ext.ux package is self consistent?
I like what you've done with it - x-combo-selected is the correct "Ext" way to select an item and will keep the look and feel consistent. But we shouldn't have duplicated code.
One thing I noticed that was a "bug" in my Ext.ux.DDView, and still shows, is selection order.
If you click the bottom element, shift click the top element, and then drag them over, the order will reverse. Selection order becomes the actual element order.
I'm planning (public holiday here today) to change getSelectedItems to loop through the Store in its natural order, calling isSelected on each Record, and push it onto the Array if it is selected. That will keep the order the same.