EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
June 06, 2026, 03:24:16 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Any way to use edatagrid with non-POST services (DELETE, PUT etc.?
Pages: [
1
]
« previous
next »
Print
Author
Topic: Any way to use edatagrid with non-POST services (DELETE, PUT etc.? (Read 15932 times)
bbones
Newbie
Posts: 11
Any way to use edatagrid with non-POST services (DELETE, PUT etc.?
«
on:
April 06, 2015, 12:42:58 AM »
Hi!
I have a delete service with request method DELETE. May I tune edatagrid use destroyURL with method="DELETE" or I need define onDestroy with ajax call?
Tnx in advance
bbones
Logged
jarry
Administrator
Hero Member
Posts: 2307
Re: Any way to use edatagrid with non-POST services (DELETE, PUT etc.?
«
Reply #1 on:
April 06, 2015, 03:25:45 AM »
Only the POST method is supposed in the edatagrid plugin.
Logged
bbones
Newbie
Posts: 11
Re: Any way to use edatagrid with non-POST services (DELETE, PUT etc.?
«
Reply #2 on:
April 06, 2015, 05:08:35 AM »
Ok, tnx, it works fine with
Code:
onDestroy : function(index,row){
$.ajax({
url : "/protofront/service/requests/"+row.orderId,
method : "DELETE"
});
}
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...