Making Datatable Jeditable (again) after a Datatable refresh
Making Datatable Jeditable (again) after a Datatable refresh
donz
Posts: 6Questions: 0Answers: 0
My Datable is ajax enabled and is initially editable but after doing a myTable.fnReloadAjax it is no longer editable. How can I make Jeditable persistent with my Datatable after a table reload.
Thanks,
Don
Thanks,
Don
This discussion has been closed.
Replies
I have found a solution but it would still be nice to hear from experienced Datatables users on the quality of this solution.
If you add the Jeditable initialisation to the fnDrawCallback of your Datatable initialisation then your datatable will be editable after over multiple edits.
[code]
"fnDrawCallback": function (oSettings) {
jQuery('td', this.fnGetNodes()).editable(...
[/code]
Cheers,
Don