how to check that parameter submited when update or delete

how to check that parameter submited when update or delete

hminhduchminhduc 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

  • kthorngrenkthorngren Posts: 20,322Questions: 26Answers: 4,774
    Answer ✓

    This doc shows what should be sent by the client with different Editor actions. There should be an action property that will be edit for edit and remove 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

Sign In or Register to comment.