Uncaught Typeerror: Undefined Is Not A Function For Datatables
Solution 1:
Sorry I am answering my own question I got error for this question it is just rearranging file sequence in file loading Thanks to all who give me time to solve my problem
Solution 2:
I think the problem is constructor DataTable()
, It is supposed to be capitalized.
Instead of $('#dt_inbox').dataTable()
use $('#dt_inbox').DataTable()
Solution 3:
You problably forgot to add the plugin to your bundle. The following questions goes into more details:
Solution 4:
I was struggling with the same problem for hours.. My issue was resolved when I changed the $
to jQuery
in my code.
Solution 5:
Well if you are using AMD pattern, you would need to keep your module name to "datatables" so that you don't get "Uncaught TypeError: jQuery(...).DataTable is not a function"
Below link was helpful. https://datatables.net/forums/discussion/21178/amd-definition-without-explicit-module-name
Post a Comment for "Uncaught Typeerror: Undefined Is Not A Function For Datatables"