- Home
- Forum
- React - EJ 2
- Grid method delete with error
Grid method delete with error
Hi,
With the grid the operations get, post and put works Ok but I have a problem only with the method delete.
This is my dataManager
var remoteData: DataManager = new DataManager({
url: config.backendUrl + '/tenant/' + AuthCurrentTenant.get() + '/presupuesto-detalle-grid?presupuesto='+ match.params.id,
adaptor: new WebApiAdaptor,
headers: headerData,
});
My server nodejs responds :
at IncomingMessage.onEnd (...\node_modules\raw-body\index.js:273:7)
at IncomingMessage.emit (events.js:327:22)
at IncomingMessage.EventEmitter.emit (domain.js:482:12)
at endReadableNT (_stream_readable.js:1221:12)
It seems that the method delete of the grid sends data in body that generates the error.
In that case how I can avoid this ?.
Thanks in advance.
Jorge
- Share the server side code used for handling delete action
- Share the screenshot or video demo of the issue
Hi Manivel,
I modified my code in order to use the following adaptor modified :
Now, It works !
Jorge
- 3 Replies
- 2 Participants
- Marked answer
-
JV JORGE V
- Jun 19, 2021 02:54 PM UTC
- Jun 28, 2021 07:24 AM UTC