DataTables 1.9 beta 3

DataTables 1.9 beta 3

allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin
edited January 2012 in Announcements
Hello all,

This is likely the last beta before 1.9.0 final is released. It really sees a rounding off of the features that 1.9 introduces, rather than anything hugely new. Along side a few small fixes and documentation tidy ups, are there two main changes in this new beta:

- The new underscore function (_) which is the compliment of the $ function - rather than returning a jQuery object from the selector, the underscore function returns the data for the rows that were selected b the selector. The function takes the same options as the $ function. For example you can do:

[code]
table._('tr'); // get data for all rows in the table
table._('tr.selected'); // get data for rows with the class "selected"
table._('tr', {"filter": "applied"}); // get data for rows available after filtering
[/code]

Full documentation for _: http://datatables.net/docs/DataTables/1.9.beta.3/#_

The other significant change is in using mDataProp as a function. This is now a huge amount more flexible, and will be the topic of a blog post in the near future :-)

1.9 links:

What's new in 1.9: http://datatables.net/new/1.9
Upgrade notes: http://datatables.net/upgrade/1.9 - lists all new and modified API and initialisation options

Package download: http://datatables.net/releases/DataTables-1.9.0.beta.3.zip
Documentation: http://datatables.net/docs/DataTables/1.9.beta.3
Examples: http://datatables.net/beta/1.9/examples/

If you have any issues with the new release or upgrading from a previous version, please post your message in a new thread so we can keep track of individual issues.

And finally, DataTables can continue to be developed due to donations and support purchases from the community, so please consider making a donation to the project to keep it under active development and keep the support levels up to par! http://datatables.net/donate

Enjoy!
Allan
This discussion has been closed.