We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Devexreme and devextreme-angular 17.2.4
The text was updated successfully, but these errors were encountered:
The catch event will be added in the next 17.2 version (17.2.5). See the Add "catch" method for Deferred utils pull request.
catch
As for the second question, you can use the following code to handle errors in ODataStore:
var ds = new DataSource({ store: { type: 'odata', url: 'http://www.example.com/dataservices/odata/targetData', key: 'Id' }, paginate: false }) ds.load().then(() => { alert("resolve"); }, () => { alert("fail"); }); ds.store().insert({id: 1}).then(() => { alert("resolve"); }, () => { alert("fail"); });
See the sample that illustrates this. If this approach does not work, please open a new Support Center ticket for the issue.
Sorry, something went wrong.
@GoshaFighten I use similar code. This problem actual for HTTP code 500, no calls for "resolve" and "fail"
GoshaFighten
No branches or pull requests
Use Devexreme and devextreme-angular 17.2.4
The text was updated successfully, but these errors were encountered: