how to check that parameter submited when update or delete
how to check that parameter submited when update or delete
hminhduc
Posts: 22Questions: 13Answers: 1
Iam on RoR app and using Editor in DataTables. When select a row and Update or Delete that, on Controller get same of param and cannot check that is Update or Delete
Parameters: {"data"=>{"1"=>{"code"=>"1", "name"=>"test1", "note"=>"note"}}}
This question has an accepted answers - jump to answer
Answers
This doc shows what should be sent by the client with different Editor actions. There should be an
action
property that will beedit
for edit andremove
for deleting rows. Use the browser's network inspector tool to see what is sent when you edit or delete a row. Let us know if these properties exist.Kevin