skip to navigation
skip to content

hurry.datatables 1.7.6

hurry.resource style resources for jQuery datatables.

hurry.datatables

Introduction

This library packages the DataTables jquery extension for hurry.resource. It is aware of jQuery datatables’ different modes (normal, minified).

How to use?

You can import datatables from hurry.datatables and .need it where you want these resources to be included on a page:

from hurry.datatables import datatables

.. in your page or widget rendering code, somewhere ..

datatables.need()

This requires integration between your web framework and hurry.resource, and making sure that the original resources (shipped in the datatables-build directory in hurry.datatables) are published to some URL. The hurry.datatables.datatables_lib library, exposed as an entry point to hurry.resource, knows where the data is in its path argument.

The package has already been integrated for Grok and the Zope Toolkit. If you depend on the hurry.zoperesource package in your setup.py, the above example should work out of the box. Make sure to depend on the hurry.zoperesource package in your setup.py.

CHANGES

1.7.6 (2011-03-23)

  • Updated to datatables 1.7.6.

1.7b6.1 (2010-07-28)

  • Initial public release, using datatables 1.7b6
  • Only compatible with hurry.resource >= 0.10

Download

 
File Type Py Version Uploaded on Size
hurry.datatables-1.7.6.tar.gz (md5) Source 2011-03-23 453KB
  • Author: Martijn Faassen
  • Keywords: hurry.resource jquery
  • License: BSD
  • Package Index Owner: kagesenshi, faassen
  • DOAP record: hurry.datatables-1.7.6.xml