DataTables and backward compatibility (Pagination Controls)

DataTables and backward compatibility (Pagination Controls)

ullasullas Posts: 3Questions: 0Answers: 0
edited March 2015 in Free community support

First of all a great thanks for inventing such a beautiful and reliable script library for presenting tabular data.

We have implemented DataTables version 1.10+ and added the two_button pagination compatibility file and it all works fine.
But when the files are minified and used, two_button pager click reloads the web page it is embedded.

This might be broken functionality due to minification rules (We use MS Visual Studio 2012 and .NET minification libraries). We noticed that variables which are enclosed in double quotes are modified to remove quotes after the minification process. For example "sPagePrevEnabled" becomes sPagePrevEnabled. Is there any chance you can test the scripts combination after minification?

We would love to use the new better functional paging system, but we already developed some server side paging functionality which imitates datatables' two_button system when it was still 1.8. Upgrading to the new paging system will require changes to the server side paging too which is impractical for us now.

It will be well appreciated, if you can test minified versions of all related scripts and publish the results (jQuery, jQuery.datatables and two_button compatibility script).

Thanks a lot.

Replies

  • ullasullas Posts: 3Questions: 0Answers: 0

    Please Delete this as the minfied versions are perfectly functional. Sorry for the trouble and the above issue was attributed to another developers code acting on every A (anchor) click.

This discussion has been closed.