The debug console indicates the .cell() property is not supported in the context shown below...tryin

The debug console indicates the .cell() property is not supported in the context shown below...tryin

OldCootOldCoot Posts: 3Questions: 1Answers: 0

alert(table.cell('tr.selected', 0).data());

This question has an accepted answers - jump to answer

Answers

  • OldCootOldCoot Posts: 3Questions: 1Answers: 0

    Sorry about that...
    Debug indicates the object does not support the property or method .cell() in this context...trying to alert out the value of the first column in the selected row.

    alert(table.cell('tr.selected', 0).data());

    Data is supplied from an Ajax callback generating a JSON string.

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

    I suspect you might want to read the second top FAQ. But it is difficult to say without either code or a test case (as required in the forum rules).

    Allan

This discussion has been closed.