Zurb Foundation integration for DataTables

Zurb Foundation integration for DataTables

As part of the on-going work to modularise DataTables (see http://datatables.net/development/roadmap ) and to enhance its ease of development, I've recently added integration files for Zurb's Foundation CSS framework ( http://foundation.zurb.com ). This is a fantastic CSS library, providing everything that is needed to build flexible sites. Now, by simply including the two DataTables integration files (one JS and one CSS), your DataTable will take on the same look and feel as the rest of your Foundation powered site.

This seems to be having issues with Foundation4 if you are using Zepto instead of jQuery (which is the default framework for Foundation4 on non-IE browsers). This looks like a known issue ( http://www.datatables.net/forums/discussion/7680/examples-of-mobile-web-andor-html5-apps-with-datatables-on-mobile/p1 ), so if you are planning on using this with the latest Foundation, you will have to rely on jQuery for your JS functionality.

DataTables is not compatible with Zepto, as Zepto provides only a limited subset of the jQuery API. I have looked at what would be required to provide Zepto compatibility in the past, but it would require a lot of changes as it doesn't support things such as deep object extending. So full Zepto integration is currently on on the cards.