Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Dec 15, 2010
  1. Finish 1.7.5 development

  2. Fixed: fnInitComplete was not the last thing to be executed when usin…

    …g DOM source. IT was possible that you could set sAjaxSource in fnInitComplete which would then trigger DataTables to do an Ajax call incorrectly.
Commits on Dec 14, 2010
  1. Fixed: fnDrawCallback was actually the first of the draw callback fun…

    …ctions that was called (the internal callbacks were called later). This was incorrect and we now loop over the array to get the order we want. At some point in future it might be required to have an ordering if these draw callbacks become interdependant.
Commits on Nov 28, 2010
  1. Performance: Re-written the sorting implementation so it doesn't use …

    …either eval() of $.inArray(). inArray was found to have a serious negative effect on IE which counts operations to give the 'script is running slow' error message - the new implemention uses a value / key reverse mapping to make the look up as fast as a single object parameter retreival. Furthermore, I've done some optimisation and feature completeness work on the non-eval version of the sorting (previously the AIR sorting method) and I've found this to be at least as good (faster in some cases) than the old eval() sort, so this is now the default and only sorting method DataTables provides - 2922
Commits on Nov 18, 2010
  1. Updated: fnAdjustColumnSizing when called with 'false' as the first (…

    …and only) parameter will now apply the calculated column sizes to the table when scrolling is being used. This allows a non-Ajax update to occur if using server-side processing. Thanks to Cat Weismann for this patch.
  2. Updated: fnAdjustColumnSizing when called with 'false' as the first (…

    …and only) parameter will now apply the calculated column sizes to the table when scrolling is being used. This allows a non-Ajax update to occur if using server-side processing.
Commits on Nov 17, 2010
  1. Fixed: The behaviour for complex headers has been altered slightly fo…

    …r complex headers in that only the first of non-unique TH elements will be click to sort-able. Unit test update needed as this is different behaviour from before when all elements belonging to a column were click to sort.
  2. Updated - now using jQuery 1.4.4 as the copy of jQuery included in th…

    …e DataTables distribution. Passes all unit tests
  3. Fixed: When using server-side processing and having called fnDestroy,…

    … don't make another XHR to the server as the data won't be used - 3375
Commits on Nov 4, 2010
  1. New: Add bScrollAutoCss option (default true). This allows you to con…

    …trol the scrolling styles with CSS, where as normally DataTables will set (and override) the styles itself. This is useful for if you want to have a scroll bar showing at all times (normally auto).
Commits on Nov 2, 2010
  1. New: Column visibility options in DataTables (bVisible and fnSetColum…

    …nVis) now take into account more than one row in THEAD and TFOOT. Please note that colspan and rowspan are NOT supported when using column visibility options in the header and footer, and will very likely have effects which are not at all desirable. As such there are conditions on this use (note that if you only have one row in the header / footer, then this has no impact), specifically the number of cells in the header / footer much be equal to the columns * rows (in each one). This way DataTables can accurately add and remove the cells as needed. The cells may be either TH or TD elements, but DataTables still requires at least one TH element for each column.
    Updated: Previously when multiple cells were detected as unique to a column the last one would be given priority (i.e. sorting event handler etc). This is now no longer the case and the first will take priority.
Commits on Oct 31, 2010
  1. Fixed: Remove the 'sNames' parameter that was introduced for server-s…

    …ide processing in 1.7.4. The parameter 'sColumns' actually performs exactly this task already. Doh. Also update the example PHP to take this into account - 3218
  2. Start 1.7.5 development

Commits on Oct 30, 2010
  1. Finish 1.7.4 development

  2. Fixed: When state saving, it was possible to have a situation where b…

    …y a table would contain 'n' columns, the user would sort on the last column and then the html is modifed to only have 'n-1' columns. This resulted in a JS error when DataTables tried to restore sorting on the removed column. Now do a sanity check to ensure the sorting column is present, and if not add sorting on column 0.
  3. Updated: A warning is now given if you pass in aTargets (for aoColumn…

    …Defs) as something other than an array (since this is not valid).
  4. New: fnSetColumnVis now has the option to cancel the redraw by passin…

    …g the third parameter to the function as false (default is true).
  5. Fixed: When pressing a meta key (i.e. an arrow key) in the search box…

    … and the search value didn't change, this was casuing a redraw to occur where one was not needed - 2933
Commits on Oct 29, 2010
  1. Updated: Server-side processing script for column re-ordering has bee…

    …n updated to take account of sNames parameter which is sent in from DataTables, and also brought up to date with the main server-side processing script.
    Changed: From the previous commit sNames sent from the client to server is now a comma seperated list of sNames and is always sent regardless of if names are given or not. This matches the sName formatting for the server-to-client return.
Commits on Oct 28, 2010
  1. Fixed: IE6 and IE7 were having issues with scroll X and jQuery UI the…

    …ming - specifically the elements which should have been hidden by the header scrolling were visible. This is fixed with a position: relative - 3180
  2. New: Column names, if defined, are submitted to the server-side for s…

    …erver-side processing. This is useful for the column ordering information, since it is possible for the server to be expecting a different column order from what DataTables is using - specifically with the column indexes such as sSearch_{i}.
  3. New: Addtinoal ability to control state saving through two new initia…

    …lisation parameters "fnStateLoadCallback" and "fnStateSaveCallback". Documentation to be updated on at 1.7.4 release time. Basically now you can add parameters to be save, and override parameters whic have been saved. Also useful for plug-ins which need to save state.
Commits on Oct 25, 2010
Commits on Oct 23, 2010
  1. Update: Remove unused settings class variable iDefaultSortIndex (the …

    …was long ago replaced with aaSorting
  2. Updated: Store a complete representation of the column visibility sta…

    …te in aoData[]._anHidden (i.e. put in nulls for elements which are visible) to make manipulation much easier.
Commits on Oct 18, 2010
Commits on Oct 17, 2010
  1. Updated: Upgrade to jQuery 1.4.3

    Fixed: jQuery 1.4.3 seems a lot more keen to call the $.ajax error handler, which was causing the unit tests to alert errors a lot when dealing with Ajax calls, since it can make multiple calls at the same time. I've altered the check in the default error handler to look for a prase error before alerting now.
  2. Fixed: Unit test 4_serveri-side "Filter 'nothinghere' - info" was fai…

    …ling as the information element of the table was incorrectly reporting that "1" record was being shown (start) when the filter applies ensured that no records were actually being shown. This was due to a strong type check against a string/number returned from the server-side processing script and a number/0. Fix is to parseInt().
  3. Fixed: Unit tests could fail due to interaction between state saving …

    …cookies. Now when tests which state save end, they must call fnCookieDestroy.
Something went wrong with that request. Please try again.