get a specific cell value from datatable after sorting

get a specific cell value from datatable after sorting

rcbinforcbinfo Posts: 1Questions: 1Answers: 0

I have a datatable with 3 columns

first I sort the values from high to low in first column

now I need to get the maximum value in first column and put it in another variable to use in a separate javascript function

for example something like this :

var table = $('#sample_3').DataTable();
var maxr = table.cell(???).data();
document.getElementById('text').textContent == maxr;

can you help me please ?

This discussion has been closed.