How do you get the data from a cell

How do you get the data from a cell

morrow47morrow47 Posts: 4Questions: 2Answers: 0

I have looked at all the examples and still cannot get the data from the cell. I attached the table portion of the code. Can anyone help me?

$(document).ready(function () {
var table = $('#example').DataTable({
data: dataSet,
"bScrollCollapse": true,
select: true,
select: {
style: 'single',
items: 'cell',
info: true
},
"bProcessing": true,
scrollY: 370,
"bDeferRender": true,
deferRender: true,
"bAutoWidth": false,
"iScrollLoadGap": 50,
"bInfo": true,
"dom": 'Bfrtip',
buttons: [
'copy',
'pdf',
'excel',
'print'
],
columns: [
{
title: "Time"
},
{
title: "Place"
},
{
title: "Country"
},
{
title: "Latitude"
},
{
title: "Longitude"
},
{
title: "Magnitude"
},
{
title: "Depth/Miles"
},
{
title: "Mag_Type"
},
{
title: "NST"
},
{
title: "Gap"
},
{
title: "DMin"
},
{
title: "RMS"
},
{
title: "Net"
},
{
title: "Id"
},
{
title: "Update"
},
{
title: "Type"
}
],
"aaSorting": [[0, "desc"]]
});
});

Answers

  • morrow47morrow47 Posts: 4Questions: 2Answers: 0

    I guess it is my lucky day, I got it to work.

This discussion has been closed.