Permalink
Commits on Jun 25, 2011
  1. Dev fix: fnDestry wasn't reapplying original with correctly due to a …

    DataTables committed Jun 25, 2011
    …mistake in an earlier commit - picked up by unit tests
  2. Fix: Row alignment with x-scrolling disabled and the table too small …

    DataTables committed Jun 25, 2011
    …to draw fully. Previously DataTables would emit an error about the columns not aligning in this case, and then try its best to draw the table, but this would end up looking quite bad. The fix is to not allow the table to draw smaller than it can possibly be when x-scrolling is disabled. This effects dynamically resizable tables - 5232
  3. Update: For objects, consider mDataProp which is sent from DataTables…

    DataTables committed Jun 25, 2011
    … for sorting and filtering to get the correct order of the rows. This is useful for ColReorder and more generally it increases the flexability of the whole table
  4. New: Send mDataProp to the server for server-side processing. This is…

    DataTables committed Jun 25, 2011
    … very simialr to the sNames parameter, but more convient when already using mDataProp
  5. Fix: Columns which are sortable but hidden have events attached to th…

    DataTables committed Jun 25, 2011
    …em for sorting, but this event handler is not removed when the column is made visible again for fnDestroy. Simply need to change the order of how the destroy is done - i.e. remove events just after the columns are made visible, not before - 5497
Commits on Jun 23, 2011
  1. Fix: When complex expressions are built up with aoColumnDefs, resulti…

    DataTables committed Jun 23, 2011
    …ng in the ability for a column to be turned "on and off" during initialisation, it would result in the column classes possibly not being correct for the sorting - 5472 - kudos to rups for this fix
Commits on Jun 21, 2011
  1. New: Accessability features - the length changing control and filteri…

    DataTables committed Jun 21, 2011
    …ng control are now wrapped in <label> tags (an explicit relationship to their input elements) to aid accessability. You can see this immediately by simply clicking on the "Search:" text now - it will focus the input of the text box, while for screen readers it will give the label text from the label.
    
    New: The filtering input language string (oLanguage.sSearch) now has the "macro" _INPUT_ in it to allow the input element to be positioned anywhere in the string. For example if you gave "sSearch": "Data_INPUT_Tables" the output for the filter would be "Data<input.../>Tables". This is optional - if _INPUT_ is not given, then as before will will tack the input element on to the end of the given (or default) text string.
  2. Fix: The ability to use complex data structures in 1.8 means that arr…

    DataTables committed Jun 21, 2011
    …ays which are passed into to fnUpdate need not strictly be the same length as the number of columns in the table - therefore the warning that is given if you do this is wrong... no other code changes needed - just no need to generate the warning! Unit test added - 5396
  3. Examples fix: Details table has one extra column in it at the start, …

    DataTables committed Jun 21, 2011
    …so this needs to be taken into account when sorting - 5422
Commits on Jun 20, 2011
  1. Fix: The table width is not set when auto width is disabled so we sho…

    DataTables committed Jun 20, 2011
    …uld not set it when destroying the table - 5220
Commits on Jun 11, 2011
Commits on Jun 4, 2011
  1. DataTables 1.8.0 :-)

    DataTables committed Jun 4, 2011
Commits on May 30, 2011
  1. New: mDataProp can now be a function as well as either a string or an

    DataTables committed May 30, 2011
    integer. This allows dynamic reading of information from the source
    object (for example getting the length of an array in the data source
    object) as well as the deep object reading and array index reading
    already available. The function is called with a single argument (the
    data object) when being read and two arguments (the data object, new
    value) when being set. This can be seen as an alternative to fnRender
    but it makes sense to include this functionality here as an option.
Commits on May 29, 2011
  1. Update: Unit tests which text the argument count for fnServerData upd…

    DataTables committed May 29, 2011
    …ated to include oSettings being passed as fourth argument
    
    New: sLoadingRecords tests added for Ajax source loading
Commits on May 28, 2011
  1. Fix: When using server-side processing the new sLoadingRecords messag…

    DataTables committed May 28, 2011
    …e is not used since the draw doesn't progress that far. As a result the same issue as was fixed in commit cc1908b could occur and needs to be addressed here by checking for server-side processing. Regression picked up by unit tests
  2. Fix: Treat null the same as an empty string for type detection - i.e.…

    DataTables committed May 28, 2011
    … don't try to detect a type on it. Regression picked up by unit tests
Commits on May 27, 2011
  1. Fix: The check against sAjaxSource for the 'loading...' message shoul…

    DataTables committed May 27, 2011
    …d be null rather than an empty string since null is the default for sAjaxSource. This error would result in the loading message being shown if the table has no results initially
  2. New: The object returned by $.ajax is assigned to jqXHR in the table'…

    DataTables committed May 27, 2011
    …s settings object now. This means that you can access the XHR in fnDrawCallback (or any of the other callback functions, or anything with access to the settings object!) to do further data manipulation if you wish.
Commits on May 26, 2011
  1. Fix: The return false in the click handler for the full numbers pagin…

    DataTables committed May 26, 2011
    …ation numbers was somewhat too harsh and stopped other
    
    events from being attached to those elements if the developer wanted. Just use preventDefault instead - 5105
Commits on May 19, 2011
  1. Fix: If there was a nested table in the thead of our target table, th…

    DataTables committed May 19, 2011
    …en the getElementsByTagName was getting the wrong element - so use a more specific jQuery selector.
Commits on May 18, 2011
Commits on May 17, 2011
  1. Fix: The automatic type detection algorithim can incorrect give preci…

    DataTables committed May 17, 2011
    …dence to numeric sorting when an empty cell is found. This means that a column of dates with a single empty cell would be sorted as a string. The fix is to skip type detection on empty cells. This also means that the sorting algorithim needs to be updated since sType might not be defined for a column when it is sorted on now (if the data in the column is empty).
    
    Fix: iDataSort, sDataType in the sort function should be declared as local parameters - should give a tiny bit more speed to the sort
Commits on May 15, 2011
  1. DataTables 1.8 beta 4 development starting point

    DataTables committed May 15, 2011
    Fix: If state saving is enabled, but sorting is not - then any saved filter would not be automatically applied. The fix is to call the filtering function at start up. Thanks to Michael Hamann and Roland Ramthun for finding and fixing this issue.
Commits on May 14, 2011
  1. DataTables 1.8 beta 3

    DataTables committed May 14, 2011
  2. Fix: Tidy up the fnGetPosition API method and allow it to cope with g…

    DataTables committed May 14, 2011
    …etting a TH cell's position in the table as well as TR and TD elements. The input and output options for the function have not changed - just it's internal operation.
  3. New: fnUpdate has been updated (oh the irony) to accept either an ind…

    DataTables committed May 14, 2011
    …ividual value, an array or an object as the first parameter passed to it. The individual and array options behave exactly as they did before this change - the new option is the object being passed in. This allows fnupdate to be given a data object which is identical to data objects used by the table when using complex objects and mDataProp. How fnUpdate itself actually operates has also changed to be self calling, which makes the multipe column updates for arrays and objects much easier.
    
    Fix: fnUpdate now works with TH elements in the body as well as TD elements
Commits on May 13, 2011
  1. New: New callback function fnPreDrawCallback which is called at the v…

    DataTables committed May 13, 2011
    …ery start of each table draw (so rather like fnDrawCallback, just before the
    
    draw!). This function is, like all other DataTables callbacks, execuated with the DataTables instance scope, and also takes a single parameter -
    the DataTables settings object. The attached function can cancel the draw by returning false, anyother return (including undefined) results in the
    full draw occuring).
  2. New: New language option sLoadingRecords which is used when the table…

    DataTables committed May 13, 2011
    …'s data is Ajax sourced, and at the first draw only. This provides an
    
    indication that the data is currently being sourced from the server (i.e. Loading...) rather than showing 'No data available in table' - which is
    not particularly friendly. Note that for server-side processing, DataTables will leave whatever is in TBODY when it makes the first Ajax request,
    so with server-side processing you would need to put in a TR/TD into the static HTML table.