Datatables not working properly
Datatables not working properly
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
$(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
This discussion has been closed.
Replies
Allan