Datatables not working properly

Datatables not working properly

octavoctav Posts: 18Questions: 0Answers: 0
edited July 2013 in General
Hi, I work on a MVC project were DataTables is used and working fine. I'm tring to make a new view using datatables, and when loading the view, the table header is not formatted at all, displaying just the raw data. The data rows have formatting. I cannot use DataTables debugger, since the site uses Https connectivity. I use the simplest way possible to initialize the plugin, like so:

$(document).ready(function () {
$('#Notifications').dataTable();
})
I also get a few javascript errors, mainly saying that some images cannot be loaded: ~/localhost:/../Resources/Styles/images/back_disabled.png
~/localhost:/../Resources/Styles/images/sort_asc.png
~/localhost:/../Resources/Styles/images/sort_both.png
~/localhost:/../Resources/Styles/images/forward_disabled.png

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Please link to a test case: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read

    Allan
  • octavoctav Posts: 18Questions: 0Answers: 0
    Problem solved: I configured the plug-in and also reformatted my table structure. Now it works fine. Thank you for your support.
This discussion has been closed.