What is the best way to create a list from the rows of a grid
问题 In my app there are two drag and drop grid. To create a list, you drag rows from the first to the second grid. What is the best way to send this list of rows (second grid) for the server to then be displayed in another grid? I tried to sync and setDirty (true), but "Ext.data.Model # setDirty" is deprecated. var grid = this.lookupReference('gridRef'); var store = grid.getStore(); store.each(function(record){ record.setDirty(true); }); store.sync(); I tried, unsuccessfully: var grid = this