mardi 13 mai 2014

Callback for loading a model record into viewModel

I am binding a record from my model at runtime like this:

view.viewModel.linkTo('theRecord', {reference: 'MyModel', id: recordId});


This works fine - it automatically loads the data and binds to the view. I would like to, however, know when the record is loaded, so that I can load additional data based on what comes back. Is it possible?





Aucun commentaire:

Enregistrer un commentaire