DataTables warning: Attempted to initialise DataTables on a node which is not a table: UL

DataTables warning: Attempted to initialise DataTables on a node which is not a table: UL

harshjn04harshjn04 Posts: 1Questions: 0Answers: 0
edited September 2013 in DataTables 1.9
I am facing an issue while using data tables on my HTML page.
The issue is i have a horizontal menu bar with Unordered List and after that i have put the code for data table.
Now when i try to load the page with UL then i see above error but when i remove the Horizontal Menubar ie UL then everything works fine.
Is there a way to keep the menu bar and use that also.

This error is in some sanity check portion of jquery.dataTables.js File.

Please help.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Please link to a test case showing the issue as noted in the forum rules. Having said that, I thin the error is fairly clear - you are trying to initialise DataTables on a non- element.

    Allan
This discussion has been closed.