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

vismarkvismark Posts: 79Questions: 5Answers: 0
edited September 2017 in Free community support

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?

Replies

  • allanallan Posts: 63,471Questions: 1Answers: 10,467 Site admin

    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

  • vismarkvismark Posts: 79Questions: 5Answers: 0

    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.

This discussion has been closed.