Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 10, 2011
  1. DataTables 1.8.2 :-)

  2. New: If a data source is found to be a function, then the function is…

    … executed and the return used for the cell display (+sorting, filtering etc). This is useful for integration with knockout.js and backbone.js etc.
  3. New: All examples which show Ajax requests now show the JSON response…

    … from the server (highlighted to be readiable JSON formatting) and the responses shown will update with each additional request. The idea is to make the formatting that DataTables expects / can cope with more obvious
  4. Dev fix: The new custom events will always pass the DataTables settin…

    …gs object as the first parameter
  5. New - experimental: Add custom events into DataTables - the events av…

    …ailable are "draw", "filter", "sort", "page" and "xhr". These are very useful for knowing when these actions happen and binding an action to them. Useful for plugin developers and developers using DataTables both. Note that it would be possible to put in a _LOT_ more custom events ("predraw" etc) which is why this feature is currently considered experimental. It will not be documented in the DataTables documentation until this has stabilised (likely 1.9 or 2.0) and a scheme has been fully confirmed for these events, but I want to include them now to see if and how they are used by developers to see them or talk to me (as this has been asked for a few times). I'm also slightly concerned about the overhead that would be generated if there were custom events for everything.
Commits on Sep 9, 2011
  1. Dev fix: Remove the UTF8 BOM which had somehow found its way in. No n…

    …eed for it here and it was upsetting JSLint...
  2. Fix: HTML column type could sometimes be overridden by the string sor…

    …ting type. If a cell was found to have just a string and no HTML in it then the whole column would be treated as a string column, even if other cells had HTML. Now put a check in place to ensure that string can't overrule html type. Unit test added.
  3. Fix: In webkit browsers the cursor in the active filter would always …

    …jump to the end of the input string due to an incorrectly matching elements (after the introduction of the label tag for the filter). Use a jQuery selector to make this more robust.
  4. Dev fix: Can't use '>' in the children() method for jQuery since it w…

    …ould try to match on the wrong elements. Need to add another 'children' call.
Commits on Sep 8, 2011
  1. Dev fix: Mistake with the legacy support for asStripClasses and its t…

    …ypo change to asStripeClasses. Would never accept the old spelling.
  2. Fix: Due to the jQuery $('>...') selector syntax being deprecated, ch…

    …ange the format to use the 'children' option instead
  3. Fix: Nested tables in the the main table's header wold cause an error…

    … due to too many TR elements being selected by the header detection method. We want to pick up only the child elements of the header - 6485
Commits on Sep 5, 2011
  1. New: In the syntax highlighting also pickout DataTables' API methods …

    …and link them to the reference page
  2. New: Syntax highlighting for the examples and provide a link for Data…

    …Tables initialisation options to the reference page
Commits on Sep 4, 2011
  1. Fix: Backwards compatibility for the init parameter asStripClasses wi…

    …th the spelling correction to asStripeClasses. asStripeClasses should now be used, but asStripClasses can be used. If both are given, the newer one will be used in preference to asStripClasses.
  2. Merge pull request #24 from Survos/master

    correct "stripe" spelling
Commits on Sep 2, 2011
  1. @kcivey

    correct "stripe" spelling

    kcivey authored
  2. New: fnServerParams callback function - this allows additional parame…

    …ters to be added to the XHR for server-side processing or Ajax sourced, client-side processed data, with ease. Previously it was required to override the fnServerData method just to add a couple of parameters, but the built in fnServerData method is quite comperhensive and you don't want to have to reproduce all of that unless you need to. Now you don't need to :-). fnServerParams is called on each request, so it is ideal for adding extra parameters such as search parameters which can be updated by users.
Commits on Aug 30, 2011
  1. Changed: Use $.extend for the language options - its quicker and easi…

    …er! The init options should be done like this as well, but that will likely be 2.0 due to the way it is currently implemented...
  2. New: Add a thousands seperator option to the language options. As a d…

    …isplayed string in DataTables this should be configurable, and now is with the oLanguage.sInfoThousands options ( "oLanguage": { "sInfoThousands": "'" } for example).
Commits on Aug 23, 2011
  1. Fix: Array detection for input data was dodgy - an object with a para…

    …mater that has a name of 'length' would mess things up - 6271
Commits on Aug 14, 2011
  1. Fix: Table width issues with y-scrolling enabled. Some of the calucla…

    …tions which were introduced into 1.8.1 to stop the table getting smaller than it can be were wrong under certain conditions. This changes should address this but further testing is required due to the number of variations.
    Fix: IE6/7 when y-scrolling was filtered to a list without y-scrolling would lose the width of the scrollbar (i.e. not expand to fill the empty space). The IE6/7 specific calcuation needs to be done only when the element is overflowing.
Commits on Aug 13, 2011
  1. Fix: Don't rebuild the client-side search array when using server-sid…

    …e processing since it isn't used! - 5742
Commits on Aug 9, 2011
Commits on Aug 7, 2011
  1. Fix: The scrollbar width calculation could sometimes be wrong when tr…

    …ying to calculate the size of the bar due to CSS styles. The inner P element could be given padding for example which would result in the scrollbar width being wrong and thus any calculations later on witht he scrollbar width would be incorrect.
Commits on Aug 5, 2011
  1. Fix typo in example code

Commits on Aug 3, 2011
  1. Fix: IE7 doesn't like setAttribute('rowspan') (and colspan) so we nee…

    …d to do it the old fashioned way... - 6012
Commits on Aug 2, 2011
  1. Fix: typeof null is an object, which causes issues in fnUpdate when c…

    …hecking if a value passed in is an object or not to fail if null is given as the value. Need to check for null values - 5987
Commits on Jul 13, 2011
  1. Fix: Add a method for plug-ins to have a destructor for when DataTabl…

    …es is destroyed - allowing clean up of events and anything else the plug-in has done. Plug-ins should add an object to aoDestroyCallback with 'sName' (to identify the plug-in) and 'fn' as the plug-ins destroy function.
Commits on Jul 8, 2011
  1. Fix: When applying the sanity width for y-scrolling only we need to k…

    …now if the scrolling element has scroll bars visible or not. Previously we checked if the element was bigger than the visible area, but this isn't good enough of overflow:scroll is set. Need to check that parameter as well - 5658
Commits on Jul 3, 2011
Something went wrong with that request. Please try again.