Page 1 of 1

Use Robo for one record?

Posted: Mon Jul 16, 2018 3:35 pm
by wispoz
Its possible to use Robot for one record?

example:

Code: Select all

var record = Ext.create('App.model.SomeModel');
and apply robo for this record? Then undo/redo ?

Re: Use Robo for one record?

Posted: Mon Jul 16, 2018 4:26 pm
by Maxim Gorkovsky
Hello.
Robo manager works with stores, because it is store who fires event on record change etc. You can create simple store, append that record and tell Robo to control that simple store.