diff --git a/.datatables-commit-sync b/.datatables-commit-sync index 717422fb..a5986324 100644 --- a/.datatables-commit-sync +++ b/.datatables-commit-sync @@ -1 +1 @@ -17832e332eb67434470f83095787037d875da072 +b38b35bf798158a6599359c2a068ab5d2658f3df diff --git a/examples/api/add_row.html b/examples/api/add_row.html index 75e5df9d..71317df8 100644 --- a/examples/api/add_row.html +++ b/examples/api/add_row.html @@ -46,14 +46,14 @@ $(document).ready(function() {

DataTables example Add rows

-

New rows can be added to a DataTable very easily using the row.add() API method. Simply call the API function with the data that is to be used for the new row (be it an array or object). - Multiple rows can be added using the rows.add() - method (note the plural). Data can be likewise be updated with the New rows can be added to a DataTable using the row.add() API method. Simply call the API function with the data for the new row (be it an array or object). Multiple rows can + be added using the rows.add() method (note the + plural). Data can likewise be updated with the row().data() and row().remove() methods.

Note that in order to see the new row in the table you must call the draw() method, which is easily done through the chaining that the DataTables API makes use of.

+ "DataTables API method">draw()
method, which is easily done through the chaining that the DataTables API employs.

This example shows a single row being added each time the button below is clicked upon.

The Editor extension adds full table editing controls, including creating, editing and deleting rows, to a DataTable.

diff --git a/examples/api/multi_filter.html b/examples/api/multi_filter.html index 70fc604b..25e64eed 100644 --- a/examples/api/multi_filter.html +++ b/examples/api/multi_filter.html @@ -56,10 +56,10 @@ $(document).ready(function() {

DataTables example Individual column searching (text inputs)

-

The searching functionality that is provided by DataTables is very useful for quickly search through the information in the table - however the search is - global, and you may wish to present controls to search on specific columns only.

+

The searching functionality provided by DataTables is useful for quickly search through the information in the table - however the search is global, and you may + wish to present controls that search on specific columns.

DataTables has the ability to apply searching to a specific column through the column().search() method (note that the name of the method is search not filter since column().search() method (note that the name of the method is search not filter, since filter() is used to apply a filter to a result set).

The column searches are cumulative, so you can apply multiple individual column searches, in addition to the global search, allowing complex searching options to be presented to the user.

diff --git a/examples/api/row_details.html b/examples/api/row_details.html index 5097f09c..4e41fa3d 100644 --- a/examples/api/row_details.html +++ b/examples/api/row_details.html @@ -89,8 +89,8 @@ $(document).ready(function() {

DataTables example Child rows (show extra / detailed information)

-

The DataTables API has a number of methods available for attaching child rows to a parent row in the DataTable. This can be used to show additional - information about a row, useful for cases where you wish to convey more information about a row than there is space for in the host table.

+

The DataTables API has a number of methods for attaching child rows to a parent row in the DataTable. This can be used to show additional information + about a row, useful for cases where you wish to convey more information about a row than there is space for in the host table.

The example below makes use of the row().child methods to firstly check if a row is already displayed, and if so hide it (row().child.hide()), otherwise show it (

DataTables example Row selection (multiple rows)

-

It can be quite useful at times to provide the user with the option to select rows in a DataTable. This can be done by simply using a click event to add / - remove a class on the table rows. The rows().data() method can then be used to get the data for the selected rows. In this case it is simply counting the number of - selected rows, but much more complex interactions can easily be developed.

-

If you are looking for a more complete and easier to use row selection option, check out the Select extension - provides an API that is fully integrated with DataTables for selecting rows and acting upon those selected rows.

+

It can be useful to provide the user with the option to select rows in a DataTable. This can be done by using a click event to add / remove a class on the table + rows. The rows().data() method can then be used + to get the data for the selected rows. In this case it is simply counting the number of selected rows, but much more complex interactions can easily be + developed.

+

If you are looking for a more complete and easier to use row selection option, the Select extension provides + an API that is fully integrated with DataTables for selecting rows and acting upon that secletion.

diff --git a/examples/api/select_single_row.html b/examples/api/select_single_row.html index 91213211..b0af29b9 100644 --- a/examples/api/select_single_row.html +++ b/examples/api/select_single_row.html @@ -44,15 +44,14 @@ $(document).ready(function() {

DataTables example Row selection and deletion (single row)

-

This example shows a modification of the multiple row selection example, where just a single can now be selected. This is done simply by checking to see if the - row already has a selected class or not, and if so removing it, if not then the class is removed from any other row in the table which does have it and applied to - the row to be selected.

+

This example modifies the multiple row selection example by only allowing the selection of a single row. This is done by checking to see if the row already has + a selected class, and if so removing it, but if not then the class is removed from all other rows in the table and then applied to the row being selected.

Also shown is the row().remove() method which - will delete a row from a table, and the draw() method - with false as its first parameter. This will redraw the table keeping the current paging (without the false parameter the paging would be + deletes a row from a table, and the draw() method with + false as its first parameter. This will redraw the table keeping the current paging (without the false parameter the paging would be reset to the first page).

-

If you are looking for a more complete and easier to use row selection option, check out the Select extension - provides an API that is fully integrated with DataTables for selecting rows and acting upon those selected rows.

+

If you are looking for a more complete and easier to use row selection option, the Select extension provides + an API that is fully integrated with DataTables for selecting rows and acting upon that selection.

diff --git a/examples/api/show_hide.html b/examples/api/show_hide.html index 2159ce75..884393b6 100644 --- a/examples/api/show_hide.html +++ b/examples/api/show_hide.html @@ -45,12 +45,12 @@ $(document).ready(function() {

This example shows how you can make use of the column().visible() API method to dynamically show and hide columns in a table. Also included here is scrolling, just to show it - enabled with this API method, although that is not required for the API function to work.

-

In addition to this, groups of columns can be shown and hidden at the same time using the columns() method to select multiple columns and then using the +

In addition, groups of columns can be shown and hidden at the same time using the columns() method to select multiple columns and then using the columns().visible() method to set their state.

-

If you are looking for a more complete column visibility interaction controls, check out the Buttons extension - for DataTables provides a comprehensive module for column visibility control.

+

If you are looking for a more complete column visibility interaction controls, the Buttons extension for + DataTables provides a comprehensive module for column visibility control.

diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index 40c2f1f3..d070f719 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -1357,7 +1357,7 @@ // - Ƀ - Bitcoin // - Ξ - Ethereum // standards as thousands separators. - var _re_formatted_numeric = /[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi; + var _re_formatted_numeric = /[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]ɃΞ/gi; var _empty = function ( d ) { diff --git a/media/js/jquery.dataTables.min.js b/media/js/jquery.dataTables.min.js index d45f44ef..ea98f6ea 100644 --- a/media/js/jquery.dataTables.min.js +++ b/media/js/jquery.dataTables.min.js @@ -90,7 +90,7 @@ a);h.extend(true,v,a);ga(p)},error:function(){ga(p)}}),m=!0);null===g.asStripeCl j=0;for(i=t.length;j").appendTo(q));p.nTHead=b[0];b=q.children("tbody"); b.length===0&&(b=h("").appendTo(q));p.nTBody=b[0];b=q.children("tfoot");if(b.length===0&&a.length>0&&(p.oScroll.sX!==""||p.oScroll.sY!==""))b=h("").appendTo(q);if(b.length===0||b.children().length===0)q.addClass(u.sNoFooter);else if(b.length>0){p.nTFoot=b[0];da(p.aoFooter,p.nTFoot)}if(g.aaData)for(j=0;j/g,Zb=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,$b=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Wa=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,L=function(a){return!a||!0===a||"-"===a?!0:!1},Nb=function(a){var b=parseInt(a,10);return!isNaN(b)&&isFinite(a)?b:null},Ob=function(a,b){Xa[b]|| +g.bStateSave?(T.bStateSave=!0,z(p,"aoDrawCallback",xa,"state_save"),Ib(p,g,e)):e()}});b=null;return this},x,s,o,u,Xa={},Mb=/[\r\n]/g,Aa=/<.*?>/g,Zb=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,$b=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Wa=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]ɃΞ/gi,L=function(a){return!a||!0===a||"-"===a?!0:!1},Nb=function(a){var b=parseInt(a,10);return!isNaN(b)&&isFinite(a)?b:null},Ob=function(a,b){Xa[b]|| (Xa[b]=RegExp(Pa(b),"g"));return"string"===typeof a&&"."!==b?a.replace(/\./g,"").replace(Xa[b],"."):a},Ya=function(a,b,c){var d="string"===typeof a;if(L(a))return!0;b&&d&&(a=Ob(a,b));c&&d&&(a=a.replace(Wa,""));return!isNaN(parseFloat(a))&&isFinite(a)},Pb=function(a,b,c){return L(a)?!0:!(L(a)||"string"===typeof a)?null:Ya(a.replace(Aa,""),b,c)?!0:null},D=function(a,b,c){var d=[],e=0,f=a.length;if(c!==k)for(;ea.length)){b=a.slice().sort();for(var c=b[0],d=1,e=b.length;d")[0],Wb=va.textContent!==k,Yb=/<.*?>/g,Na=n.util.throttle,