print/pdf

print/pdf

j_haus22@yahoo.comj_haus22@yahoo.com Posts: 3Questions: 2Answers: 0

i am using datatables with jeditable. when i edit a text field in the table it updates the database and changes the data in the table but when i either print or pdf the table the values from the original load show rather than the edited values.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,971Questions: 1Answers: 10,160 Site admin
    Answer ✓

    Sounds like you need to use the API to update the cell values when you change them. The cell().data() method would be most approriate. Another option would be cell().invalidate() to tell DataTables that the value has changed and it needs to reread it.

    Allan

  • j_haus22@yahoo.comj_haus22@yahoo.com Posts: 3Questions: 2Answers: 0

    Thanks so much Allan, I thought of that last night while working out... sometimes, you just need to take a break.

This discussion has been closed.