mardi 6 novembre 2018

Datatables with Checkbox for Model & Controller

I'm very exciting to use datatable with checkbox from this example 1 & 2 for bulk approval that is provided Gyrocode.com.

What I'm facing right now are

  1. How to prepare Model that suitable when all the checked IDs send to Controller. I use 'serialize' to send data from view to controller.
  2. In this case, my project use stored procedure. Do I have to send all of those bulk IDs by using asynchronous process (await & async)

this my view code

    var dataToPost = $('#frm_Approval').serialize();
    alert(dataToPost);

    $.post("Payment_Approval", dataToPost)
        .done(function (data) {

        })

Please advice me




Aucun commentaire:

Enregistrer un commentaire