Deployed datatable to test Server but not working

Deployed datatable to test Server but not working

cindyparellcindyparell Posts: 5Questions: 2Answers: 1
edited July 2019 in Free community support

Datatable is working fine on localhost. It is MVC 4 application and i have the files declared in bundleconfig. Everything looks good on localhost. But when i publish the project in VS to test server, i don't see datatable being built.
I verified that the files(.css & .js) moved over to server.

jquery.dataTables.min.css, jquery.dataTables.css, dataTables.jqueryui.min.css, dataTables.jqueryui.css in Content folder & dataTables.jqueryui.js, dataTables.jqueryui.min.js, jquery.dataTables.js, jquery.dataTables.min.js in Scripts folder.

This is from bundleconfig .Include("~/Scripts/jquery.dataTables.js")
.Include("~/Scripts/dataTables.jqueryui.js")
.Include("~/Content/jquery.dataTables.css")
.Include("~/Content/dataTables.jqueryui.js")

Also there are no errors in console on dev tools. I also tried referencing from _layout.cshtml page, but it didn't work.

Please suggest.

This question has an accepted answers - jump to answer

Answers

  • cindyparellcindyparell Posts: 5Questions: 2Answers: 1
    Answer ✓

    I had not minified my app's js file where i was calling the .DataTable(). My bad
    Please delete this post.

  • allanallan Posts: 63,175Questions: 1Answers: 10,409 Site admin

    No worries. Thanks for posting back.

    Allan

This discussion has been closed.