I need to hide a column on the table, but after that I cannot read selected row\'s hidden column value.
dtTable = $(\'#lookupTable\').DataTable({
\"c
The correct answer is pretty old. So, if the correct answer does not work out for you. Please try this method :
selectedIndex = dtTable.row(this).data();
This code will return the raw json object which was fetched for this row. something like :
{
"modify":"false",
"lastModify":"Tuesday",
"name":"abc",
"DT_RowId":"row_1",
"fileID":"0bde976"
}
To get the "fileID" you just need to :
alert("ID = "+selectedIndex.fileID);
Another Soultion Is Add Css Class ID Fiekd Visbilety hideen And $(this).find('td:eq(0)').text(); Retrive The value..