Model:
Ext.define('Voting', {
extend: 'Ext.data.Model',
hasMany: [
{model: 'VotingQuestion', name: 'questions'}
]
}
and:
grid.bindStore(voting.questions())
then use RowEditing to add/edit/delete/resort the grid
after this, If I click a cancel button, is there any easy way to recover the 'questions' to init status (except reload store from server)?
thanks