Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

How to get access of a cell's value?

$
0
0

How do I get value of a cell cellval so I can use it later in the fnRowCallback? Any hint will be appreciated.

    $(document).ready(function() {

        var cellval = ...

        var table = $('#cases').DataTable( {
            ajax: 'php/table.cases.php',
            "fnRowCallback": function(nRow, aData, iDisplayIndex, iDisplayIndexFull) {
                console.log(cellval);
            },
        });
    });


Viewing all articles
Browse latest Browse all 2364

Trending Articles