PDA

View Full Version : [CLOSED] [5.0.1] Drag&Drop is not working with sorter



andreas-spindler
23 Sep 2014, 2:03 AM
Hi,

the drag&drop plugin is not working, if you apply a sorter to the store.

See here:
https://fiddle.sencha.com/#fiddle/aod

Thanks!

evant
23 Sep 2014, 2:26 AM
Because the store must remain in sorted order. Manual ordering of rows & sorting can't co-exist.

andreas-spindler
23 Sep 2014, 2:31 AM
How do I then pre-sort my records for presentation if I get them unsorted from the server?

Consider a list of tracks inside an authoring tool for CDs. The tracks on the CD have track numbers. But the user should be able to resort the tracks of the CD until the information is finalized and the CD is mastered.

evant
23 Sep 2014, 2:34 AM
You could sort the store and then remove the sorter. It will never "unsort" a store.

andreas-spindler
23 Sep 2014, 2:40 AM
okay, thats an idea!
Thank you!