Can someone explain getModelFactory(), getCollectionFactory(), and createView()? And how can I use separately and/or nested? Can I use either function, when user clicks a button, create a window filled with a few buttons that can view whatever I want?
Announcement
Collapse
No announcement yet.
getModelFactory,getCollectionFactor(),createView()??
Collapse
X
-
In createview, how can I place a button onto the scope when viewing an entity?
PHP Code:
this.createView('Call','clientDefs.Call.modalViews.select',{ scope: 'Call', createButton: false },function(view){ view.render(); self.notify(false); this.listenToOnce(view,'select',function(model){ }) })
Last edited by elbowprogrammer; 02-03-2016, 09:33 PM. Reason: found my answer to previous question, asking a different one that help me meet my deadline.
Comment
Comment