DataTable().row(this).data() turning "

DataTable().row(this).data() turning "

LucasJrLucasJr Posts: 7Questions: 3Answers: 1
edited June 2017 in Free community support

DB return that fills the table (encoding utf-8):
"Saídas:
12 Vcc : 12,0 a 12,4 Vcc; ripple < 28 mVpp..."

Code:
var select = $('#grid_tbl').DataTable().row(this).data();
console.log(select.wthatever);

<td> output:
"Saídas: 12 Vcc : 12,0 a 12,4 Vcc; ripple < 28 mVpp..."

console.log(select.wthatever):
"Saídas:
12 Vcc : 12,0 a 12,4 Vcc; ripple < 28 mVpp..."

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,822Questions: 1Answers: 10,127 Site admin

    Per the forum rules, please post a link to a test case showing the issue so we can help to debug it.

    If would be helpful if you could elaborate on your question somewhat.

    Allan

  • LucasJrLucasJr Posts: 7Questions: 3Answers: 1
    Answer ✓

    I figured out what was my mistake! I was taking HTML code instead DB result.
    Thank you anyway

This discussion has been closed.