1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-11-28 10:24:10 +01:00
Commit Graph

26 Commits

Author SHA1 Message Date
Allan Jardine
9b2a236a53 Fixed: Column width calculations are now done after DataTables has done it's required DOM manipulation. This means that column width calculations are more accurate and take account of dynamic data. 2010-09-03 08:54:55 +01:00
Allan Jardine
5f5e6a6f60 Fixed: DataTables would unnecessarily add mousedown and selectstart event handlers to TH elements which aren't used for sorting. This is used on sorting columns to prevent text selection when clicking the element to perform sorting. 2010-09-03 08:39:16 +01:00
Allan Jardine
bd992cb10a New: When using jQuery UI theme option, DataTables will wrap the contents of sortable TH element in a DIV which can then be used to position the sorting arrow accurately across all columns. The required CSS has been added to the CSS files to show this effect. 2010-09-03 08:33:44 +01:00
Allan Jardine
aec4505a8f Fix: Looser test for IE to pass. Different date format string 2010-08-22 16:18:44 +01:00
Allan Jardine
4fef523262 1.7.1 version string 2010-08-22 15:43:02 +01:00
Allan Jardine
60a2701df0 Updated: Change to fnClearTable to clear the arrays in a cleaner manner 2010-08-22 15:37:36 +01:00
Allan Jardine
ced3b96264 Fixed: Themeroller 1.8 introduced a few changes from 1.7 (main fg-button* > ui-button) which was causing 1.8 themes to not show correctly. This release updates DataTables to use ThemeRoller 1.8 themes by default, but retains 1.7 backwards compatibility for now (to be removed in future) - 1559 2010-08-22 13:48:20 +01:00
Allan Jardine
60a7c58122 Fixed: Sorting classes weren't being removed in Firefox 3.0 (3.1+ were fine) - 2449 2010-08-22 13:02:01 +01:00
Allan Jardine
8171787a4e Remove fnDestroy from accidendal commit 2010-08-22 08:48:00 +01:00
Allan Jardine
29d7a0a182 Fixed: fnDestroy didn't restore columns which had been hidden by DataTables, resulting in these columns being completely lost - 2569 2010-08-22 08:47:06 +01:00
Allan Jardine
505bfce7c2 Fixed: The width of the table is now not fixed to the width of the container when scrolling is not applied (this is the same behaviour as 1.6-) - 2530 2010-08-21 10:05:07 +01:00
Allan Jardine
05995bd655 Fixed (from last commit): Incorrect variable when saving state caused state saving to stop working
Fixed: Removed unnecessary white space from state saving cookies
2010-08-20 18:58:25 +01:00
Allan Jardine
85b923cff3 New: Cookie callback function (can be passed as an initialisation parameter) called fnCookieCallback, which allows the developer to modify the information stored in the cookie. Takes four arguments (sName, oData, sExpires, sPath) and expects a complete cookie string to be returned (with name, value, expires and path correctly formatted).
Updated: Now use jQuery's JSON parse function (in jQuery 1.4) rather than JSON.js

Fixed: State saving cookie used single quote strings in places (in correct JSON). This has now been addressed, and a work around in place (replace) until a sufficient period has passed
2010-08-20 18:52:16 +01:00
Allan Jardine
25148e4fec Fixed: The second parameter for fnServerData was being passed as null when used without server-side processing. It makes much more sense to pass an empty array - 2553 2010-08-20 18:07:34 +01:00
Allan Jardine
d5cb811698 Fixed: The second parameter for fnServerData was being passed as null when used without server-side processing. It makes much more sense to pass an empty array - 2553 2010-08-20 18:06:47 +01:00
Allan Jardine
1beb523cc1 Updated: Warning when adding a new row when the length doesn't match the known number of columns has been updated to indicate the known columns and what was added. Thanks to Adam Sah for this. 2010-08-19 09:48:51 +01:00
Allan Jardine
e69815449a Fixed: Setting a negative width in IE results in an error (fair enough) - so stop this from happening - 2544 2010-08-18 09:17:33 +01:00
Allan Jardine
9e6094e792 New: Language callback function for the information element. This can be used to customise the language shown in the information element beyond what is possible with the built in language string options (for example plurals). The arguments are fnInfoCallback( oSettings, iStart, iEnd, iMax /*no filter*/, iTotal /*after filter*/, sOut /*DT rendered string*/ ) - 2520 2010-08-17 23:29:12 +01:00
Allan Jardine
8e2efc004f Updated: Complex headers have been relaxed such that TH elements no longer need to be unique. There does need to be the correct TH elements with colspans and rowspans which add up, and each column requires at least one TH element for itself, but it is now possible to have two (or more) TH elements for each column. 2010-08-17 23:03:17 +01:00
Allan Jardine
5881948640 Fixed: Typo for tfoot, should be tbody - "Sanity check that there is a thead and tfoot. If not let's just create them" 2010-08-17 22:20:32 +01:00
Allan Jardine
adbaaf1ee1 Bug fixes for 2440, 2512 and 2530 2010-08-17 19:09:48 +01:00
Allan Jardine
2c76d845d6 Fixed: Columns with zero length strings only in them and with a given width would be missed from the width calculations - 2530 2010-08-17 19:00:46 +01:00
Allan Jardine
151b0ace94 Fixed: Rows with HTML entities and BR tags in them could break filtering in IE and Opera - 2512 2010-08-17 18:47:07 +01:00
Allan Jardine
fb0eee822e Fixed: When displaying full data set with server-side processing (_iDisplayLength = -1), this would incorrectly be shown in the table information - 2440 2010-08-17 18:39:57 +01:00
Allan Jardine
9fcaccb570 Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
Allan Jardine
e9e83cf7b2 Initial commit 2010-08-13 15:43:17 +01:00