Print a mark check of status field

Print a mark check of status field

hminhduchminhduc Posts: 22Questions: 13Answers: 1

I have a status field column with mark checkbox if it is actived. It show in datatable but when print nothing appear. So how can show a mark check if field is active..

This question has an accepted answers - jump to answer

Answers

  • hminhduchminhduc Posts: 22Questions: 13Answers: 1

    I added this line for exportOptions
    stripHtml: false,
    and voila checkbox is displayed on print, but all is blank checkbox.
    Why database at rowCallback not store checked prop on <input type="checkbox" class="editor-active">

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Answer ✓

    rowCallback doesn't modify the data for the row - it allows you to modify the DOM for the row.

    To export a checkbox state, you will need to use the exportOptions as shown in this example.

    Allan

Sign In or Register to comment.