Use Robo for one record?

Undo / Redo framework for Ext JS
Post Reply
User avatar
wispoz
Posts: 150
Joined: Fri Mar 28, 2014 2:17 pm

Use Robo for one record?

Post by wispoz » Mon Jul 16, 2018 3:35 pm

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 ?

User avatar
Maxim Gorkovsky
Core Developer
Core Developer
Posts: 2635
Joined: Wed Jan 08, 2014 11:46 am

Re: Use Robo for one record?

Post by Maxim Gorkovsky » Mon Jul 16, 2018 4:26 pm

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.

Post Reply