Can you change an initialization function after it's already been initialized?
Can you change an initialization function after it's already been initialized?
So it's simple enough to initialize a function in Datables. For example:
$("#table").dataTable({
"fnDrawCallback": function (oSettings) {
func();
}
});
My question is, after you have already initialized your datatable, is it possible to change the initialized option to something else? How would I go about changing fnDrawCallBack from func() to func2()?
$("#table").dataTable({
"fnDrawCallback": function (oSettings) {
func();
}
});
My question is, after you have already initialized your datatable, is it possible to change the initialized option to something else? How would I go about changing fnDrawCallBack from func() to func2()?
This discussion has been closed.