initComplete not being called after I iniatialize 3rd part library over another element
initComplete not being called after I iniatialize 3rd part library over another element
vismark
Posts: 79Questions: 5Answers: 0
Can't understand why, but my DataTables code worked fine until I had to bind this library to an input type text that has nothing to do with the DataTable object.
Actually, what is not working, is the initComplete (it is not being called anymore at all). Other functionalities seems to work fine at the moment.
If I put the $('.dateRangePicker').daterangepicker()
inside the initComplete , both works fine.
Is there any compatibility issue? If so, how can i solve it?
This discussion has been closed.
Replies
There shouldn't be a compatibility issue. We'd need a link to a page showing the issue to understand why it isn't working though.
Allan
Unfortunately I'm working on an intranet project so there's nothing online.
Anyway for those who may came across this problem: tryin' some of that library options, I've found out that setting
autoUpdateInput
to false seems to solve this problem.