Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3800

custom Action

$
0
0

In the Editor AJAX client-to-server data request, the default Actions are Create, Edit, and Remove.

Is there a built-in method or option to include additional custom actions? Bad example... but if I needed an Action named "Edit2"?

If not, I know that I can intercept the request object and modify it on my own, and then return a response in the expected/appropriate format. I just wanted to see if DT/DTE had a built-in way to do it

ajax: function (method, url, data, dte_success, error) {
     // reformat data
     JSONstring = app.dteFormatRequest(data);

     ...
}

Viewing all articles
Browse latest Browse all 3800

Trending Articles