Hi,
I have been tried to insert records from the data grid by using the Editing function with the WebApiAdaptor method. I noticed that the request URL pointing to the server-end is having a default format.
For an example:
1. When Insert, the URL will be like http://localhost:4000/api/users (POST)
2. When Update, the URL will be like http://localhost:4000/api/users (PUT)
3. When Delete, the URL will be like http://localhost:4000/api/users//undefined (DELETE)
Is that possible I can define my own API URL? I have tried to append the insertUrl: "http://localhost:4000/api/add-user"; updateUrl: http://localhost:4000/api/update-user; but it seems not working with it.
Besides, I also noticed that when performing inserting, we can define a default value on the column by using the params, but how can I bind the params to a drop down list for the particular column with multiple choice?
Hope you can assist me as soon as possible.
Attachment:
Dashboard_1744ca2f.rar