I am trying to add a check box to a single column jQuery data table using
dataTable.fnAddData( ["<input type=\"checkbox\">"]);
I don't get any error messages but nothing shows up.
I am trying to add a check box to a single column jQuery data table using
dataTable.fnAddData( ["<input type=\"checkbox\">"]);
I don't get any error messages but nothing shows up.
I needed to do
dataTable.fnAddData( ["<input type='checkbox' id='checkboxID'/>"]);
jQuery('#checkBoxID').show();
You need to add \
before escape character.
dataTable.fnAddData( ["<input type=\\"checkbox\\">"]);
Check this SO Question.