DataTable declaration should be made after all other js.

DataTable declaration should be made after all other js.

cristiangirleacristiangirlea Posts: 1Questions: 0Answers: 0

If you have other functions in the DataTable, like buttons for Edit with bootbox, you should add the DataTable after them, because if you have PageLenght and Sorting, the other functions wont work after you use them, Like if you have PageLenght 50 and you change it in the filter to 100 the Items after the element 50 wont work, so to fix this you have to add the DataTable after the other scripts.

This discussion has been closed.