Sencha Premium Member
GXT 2.2.5, drag-n-drop listener and comparator TreeStore priority
I use GXT2.2.5
I need to do some business logic with a drag-n-drop in the TreeStore. This action changes the value on what the Comparator is based on. The problem is that the sort is automatically called before the drag-and-drop event listner.
1- user drag n drop an item in the tree (this changes the order);
2- the TreeStore Comparator is called;
3- the DNDListener is called;
I wish that the Comparator was called after my DNDListener so the tree would be sort the right way.
Tags for this Thread