12 Apr 2011 12:45 AM #1
Canceling removal on server side.
Is ExtJS4beta2. The circuit such
Ext.grid.GridPanel in it Ext.data.Store to refer on Ext.data.Model in model Ext.data.AjaxProxy with (api) in it Ext.data.JsonReader and Ext.data.JsonWriter.
The similar circuit in an example here.
If I delete a line in GridPanel then it I do Sync() the server answers success:false that Ext with GridPanel deletes the data and in Ext.data.Store isn't present and stores them there in the field Ext.data.Store.removed. How to me to force Ext if the server on request to delete has returned success:false to leave a line in GridPanel?
12 Apr 2011 10:45 PM #2
You could use a failure callback to reload the store.
By YargicX in forum Community DiscussionReplies: 3Last Post: 15 Apr 2008, 10:52 AM
By Nighter in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 5 Mar 2008, 2:10 PM
By simon in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 21 Feb 2008, 5:52 PM
By mlarese in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 8 Oct 2007, 11:44 PM
By zquirm in forum Community DiscussionReplies: 2Last Post: 22 Dec 2006, 8:15 PM