select a datatable subtable element

1

I am working with a subtable of a datatable, I click on a row of the table and another daughter table is displayed as a row of the first table. I have this command that works well for me

idT = $(this).parent().siblings('td:first').text();

It saves the element that interests me in the variable idT of the subtable, the problem is that when I hide the column, this value no longer takes it since it accesses the text.

Is there any way to take the value of a row with the column hidden?

In case you may be interested, I put the solution

var data_formHis = tblT.row($(this).parents("tr")).data();
    
asked by Lorenzo Martín 22.08.2018 в 21:34
source

0 answers