select to child in the table and pass a new DT

select to child in the table and pass a new DT

rrzavaletarrzavaleta Posts: 78Questions: 52Answers: 2

obtaining values hidden's or not visibilyti in the ​​not shown in a table

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Use row().data() to get the data for a row, including hidden columns.

    Allan

  • asassaasassa Posts: 4Questions: 3Answers: 0
    edited December 2014
    var Tabladinamica = $('#ing_campoinferior').DataTable();                                             
                $('#ing_campoinferior tbody').on('click', 'tr', function () {
                      Tabladinamica.row(this).data()
    
        } );
    
                always show me " [object Object] " but never a hidden column.
    
  • rrzavaletarrzavaleta Posts: 78Questions: 52Answers: 2
            always show me " [object Object] " but never a hidden column.
    

    var Tabladinamica = $('#ing_campoinferior').DataTable();
    $('#ing_campoinferior tbody').on('click', 'tr', function () { Tabladinamica.row(this).data()

    ?

    } );

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Answer ✓

    I don't understand. The data for the hidden column is inside the object that row().data() returns.

    Allan

This discussion has been closed.