Skip to Content
0
Aug 10, 2020 at 11:20 AM

how to use the submitChanges method ?

282 Views

hello experts

in my project i am using the submitChanges method like below

	this.oModel.submitChanges({
		groupId: "addRequ",
		error: this.fnError.bind(this),
		success: this.fnSuccess.bind(this)
		
			});

the problem is that it is always generating the success method even when there are errors in the request

how to handle it please ?