Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

enable way to trigger reorder after move #147

Merged
merged 11 commits into from
Jun 27, 2017
Merged

enable way to trigger reorder after move #147

merged 11 commits into from
Jun 27, 2017

Conversation

ElectricMaxxx
Copy link
Member

@ElectricMaxxx ElectricMaxxx commented Apr 27, 2017

That are the changes to finally get the dnd working.

Todos:

  • move
  • sort on tree

@ElectricMaxxx
Copy link
Member Author

I definded options on sonata we need here now. But what we still miss is the position value in the resource, and the ability of the tree to order by it.

@ElectricMaxxx ElectricMaxxx requested review from wouterj and dbu April 27, 2017 20:23
@ElectricMaxxx
Copy link
Member Author

sortChildren() sorts the tree on the first request in the right way as i have the json data (but i do not see the call at all) when i want to sort again i have fancytree nodes and the method does not work.

@ElectricMaxxx
Copy link
Member Author

@symfony-cmf/contributors Works on Sandbox, pls review. Working example:
symfony-cmf/cmf-sandbox#366

@ElectricMaxxx ElectricMaxxx changed the title [WIP] enable way to trigger reorder after move enable way to trigger reorder after move May 1, 2017
@ElectricMaxxx ElectricMaxxx merged commit 3fcb117 into master Jun 27, 2017
@ElectricMaxxx ElectricMaxxx deleted the fix_dnd branch June 27, 2017 05:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant