i use the restful mode in the server,when i update the object,the url must be '/demo/{id}' and submit type must be "put".
but the update url was definition
transport: {
update: {
url: "/demo/{id}"
}
}
how can i change url when i need update.
For example,when i update the record,the id is "abcdefg",i need change the url become '/demo/abcdefg' .
but the update url was definition
transport: {
update: {
url: "/demo/{id}"
}
}
how can i change url when i need update.
For example,when i update the record,the id is "abcdefg",i need change the url become '/demo/abcdefg' .