My jquery datatable is not getting editable..I am using simple html page
jQuery(document).ready(function () {
jQuery('#detailsgrid').dataTable()
.makeEditable();
});
Adding rows like this
function addrow() {
//alert("sxcsdsd");
//jQuery('#detailsgrid').dataTable().makeEditable();
jQuery('#detailsgrid').dataTable().fnAddData([
'<input id=\"Checkbox\" type =\"checkbox\" name = chk onclick = javascript:removeRow(this) />',
jQuery("#txtcasetype").val(),
jQuery("#txtcd").val(),
jQuery("#txtpatclass").val(),
jQuery("#txtcd1").val(),
jQuery("#txtresamt").val(),
jQuery("#txtadmamt").val()]);
}
Where I am doing wrong..I have also registered required plugins
<script src="jquery.dataTables.js" type="text/javascript"></script>
<script src="jquery.dataTables.editable.js" type="text/javascript"></script>