How to get data of the checked rows in a data table ?

How to get data of the checked rows in a data table ?

aclaluaclalu Posts: 2Questions: 2Answers: 0

How can i get all the checked row in a datatable?
Any help please?

Here my code .. I already getting the count of the check rows but how can i get the data?

    var oTable1 = $('#tblCartActual').dataTable();

    $("input:checkbox", oTable1.fnGetNodes()).each(function () {
        var tuisre = $(this).is(":checked");
        if (tuisre) {
            var no = $(this).parent().prev().prev().text();
            alert("no:" + " " + no + " is checked");

        }
    })
This discussion has been closed.