PDA

View Full Version : [OPEN] [ExtJS 6.0.0.425] Drag and drop on tree with sortOnDrop, folderSort not respected



raphael.franchet
29 May 2015, 7:27 AM
In the following fiddle
https://fiddle.sencha.com/#fiddle/nnl

drag the node "physics" to "Root".

After the drop, the sort is not respected because the folder "homework" should be at the top according to folderSort property.

The refresh button fix the sort by calling


var root = button.up('treepanel').getRootNode();
root.sort(root.getTreeStore().getSortFn());

Gary Schlosberg
29 May 2015, 1:57 PM
Thanks for the report! I have opened a bug in our bug tracker.