maqetta/maqetta — Issue #1701: Need to shuffle stores when reparenting data-bound widgets
Author: JonFerraiolo
Created: 2012-02-04 16:30:36+00:00
State: open
Labels: Data Bindings, Priority High, Visual Editor

@aerwin

WIth latest code, I had a flowable document with the following: Button, DataGrid, Calendar, and then selected the DataGrid and interactively dragged it to the end of the doc (i.e., after the Calendar). Looking at browser debugger showing the DOM tree of the user HTML document, I see things in this order: Button, ItemFileReadStore, Calendar, DataGrid (plus a mysterious iframe).

Are we properly moving the store objects when moving the data-bound widgets? I couldn't find any logic in the code for such re-ordering.