azinyama
6 Sep 2012, 1:20 AM
Good all!!!
I have a store that is loading into a grid panel using the row editor plugin. I'm also using Ext.Direct Router.
Question #1:
Ext.Direct uses api, read/create/update/delete. Is there a way of setting create to 'undefined' so that when I add a new row to the grid it does not make a call back to server. I have tried setting it to 'undefined' and removing create, but none of theses options worked.
Question #2:
If there is an exception or error or the server throws an exception and success returns false how do I the reject the changes made from my controller.
Thank you for you help...
I have a store that is loading into a grid panel using the row editor plugin. I'm also using Ext.Direct Router.
Question #1:
Ext.Direct uses api, read/create/update/delete. Is there a way of setting create to 'undefined' so that when I add a new row to the grid it does not make a call back to server. I have tried setting it to 'undefined' and removing create, but none of theses options worked.
Question #2:
If there is an exception or error or the server throws an exception and success returns false how do I the reject the changes made from my controller.
Thank you for you help...