Print a mark check of status field
Print a mark check of status field

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
This discussion has been closed.
Answers
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">
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