Any event (read, update, delete, write) are one touch double request.
Example: Insert event. Duplicate row. :((
Printable View
Any event (read, update, delete, write) are one touch double request.
Example: Insert event. Duplicate row. :((
this code is wrong?
my using code
--------------------------------------Code:Ext.define('MyView',{
extend: Ext.grid.Panel,
store: Ext.create('MyStore')
}
i want to this code but..
but not working.Code:Ext.define('MyView1',{
extend: Ext.grid.Panel,
store: 'MyStore1'
}
both Im using
Code:function addController(controller){
controller.init(); // MyViewController1
}
How is MyStore1 defined?
FYI: The first approach is not correct. You should call create inside initComponent
Scott.
that code are my not real code just for example same structure.Code:Ext.define('MyStore1',{
extend: 'Ext.data.Store',
proxy:{
}
}
I writing WebApp.
Web App have user permission and has many component.
I called once Login.js controller. Because user permission. I'm use addController function.
store: 'MyStore1' is not working.
store: Ext.create('MyStore1') is worked.
my Web app like http://dev.sencha.com/deploy/ext-4.0.0/examples/layout-browser/layout-browser.html
changing panel's advenced.Attachment 39072Attachment 39070Attachment 39068
I have many problems on developing this project. My idea not working.
I want to developing thisAttachment 39073
but not working. I changed sample development.I wrote many duplicate code.