1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-10 22:24:10 +01:00
DataTables/media/unit_testing/tests_onhold/1_dom
2012-10-19 15:31:35 +01:00
..
_getDataFunctions.js Updated: mDataProp syntax now has the ability to accept array syntax (for example "access[].name" would get an array of the 'name' properties from the access property of the data source). This is exceptionally useful for manipulating arrays - however, you are very _strongly_ advised not to use in in mDataProp itself, since when setting arrays, you will overwrite the old array (thus destroying any other properties that it already has!). Instead, see the new mRender property if you want to make use of this syntax for drawing the table. 2012-06-29 17:47:00 +01:00
_setDataFunctions.js Dev: Unit tests for set functions 2012-08-08 20:02:59 +01:00
_zero_config.js 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
-complex_header.js Updated: Complex header behaviour has changed slightly to make the bottom unique TH element the one which has the sorting listener attached. Updated unit test 2011-04-12 21:33:47 +01:00
-iDraw.js New: Infinite scrolling! Building on the scrolling feature set that was introduced with 1.7, you can now have DataTables do infinite scrolling (bScrollInfinite: true), where data is loaded dynamically as and when needed by the user's interaction with scrolling. Infinite scrolling can be used by all DataTables' supported data sources without modification. 2010-09-05 10:21:26 +01:00
2512.js 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
2530-2.js 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
2530.js 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
2569.js Fixed: Destroying a scrolling table was not correctly reassembling the table from it's component parts which are split up for scrolling. 2010-09-08 20:40:18 +01:00
2600.js Fixed: The 'rewind' of the display start point wasn't being calculated in the same way for server-side processing and client-side. This was due to a bug in the calculation of fnDisplayEnd for server-side - 2600. 2010-09-14 20:19:21 +01:00
2608.js Unit tests were using asStripClasses which was an old legacy typo... It should be asStripeClasses and I've removed the alias in 1.9, thus the unit tests need to be updated. 2011-12-04 18:11:36 +00:00
2635.js Fixed: Unit tests could fail due to interaction between state saving cookies. Now when tests which state save end, they must call fnCookieDestroy. 2010-10-17 07:43:17 +01:00
2746-stable-sort.js Fixed: Stable sorting algorithm was slightly wrong when dealing with values which match each other. The idea for the stable sort is that the position shouldn't change so it should do a numeric sort of the row's current positions (the comment reflected this...) but it was in fact doing the sort on the value (aoData index), thus the "stable sort" position would reflect the original starting positions of the data, rather than the current position. The fix is to correctly look up the position of the index in the array and sort on that position (note the array is cloned, so it doesn't try to sort the dynamically sorted positions, which would make the sort unstable) - 2746 2010-09-30 08:17:38 +01:00
2799.js Fixed: When initialising multiple tables it was possible (no aoColumns given, and different number of columns) for DataTables to get confused and think one table's columns belong to another (due to a non-unique array in the initialisation object which was being wrongly used). 2010-09-20 13:15:06 +01:00
2840-restore-table-width.js Fix typo 'destory' -> 'destroy'. 2011-11-07 09:55:01 +01:00
2914-state-save-sort.js Fixed: Unit tests could fail due to interaction between state saving cookies. Now when tests which state save end, they must call fnCookieDestroy. 2010-10-17 07:43:17 +01:00
5396-fnUpdate-arrays-mData.js Update: Unit test updated for the mData name change from mDataProp. Note that a number of tests to test the backwards compability of mDataProp! 2012-06-29 20:10:15 +01:00
5396-fnUpdate-arrays.js Fix: The ability to use complex data structures in 1.8 means that arrays 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 2011-06-21 18:38:00 +01:00
5508-xscroll-zero-content.js Fix: When filtering is applied to a table which has y-scrolling, and the filter was sufficient to make the scrolling disappear, the table width would increase by the scrollbar width. This was of course incorrect and the result of a change for 1.8.1 - we need to test is the scrollbar is present or not for the fix to be correct, which it now does. Unit test added. 2011-06-29 18:08:14 +01:00
6776-scrolling-table-grows.js Fix: x-scrolling to the end of a table would cause the header and the columns to go out of alignment due to the header not being able to scroll as far as was needed (this was caused by the changes in 876a75f) - 8332. 2012-02-06 18:09:16 +00:00
aaSorting.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
aaSortingFixed.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
aoColumns.bSearchable.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
aoColumns.bSortable.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
aoColumns.bUseRendered.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
aoColumns.bVisible2.js New: Unit tests for column visibility with complex headers and fnSetColumnVis 2011-04-20 20:05:14 +01:00
aoColumns.bVisible.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
aoColumns.fnRender.js Fix: fnRender unit tests need to be updated for the change to the second argument being passed 2011-12-27 13:54:22 +00:00
aoColumns.iDataSort.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
aoColumns.sClass.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
aoColumns.sName.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
aoColumns.sTitle.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
aoColumns.sWidth.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
aoSearchCols.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
asStripClasses.js Unit tests were using asStripClasses which was an old legacy typo... It should be asStripeClasses and I've removed the alias in 1.9, thus the unit tests need to be updated. 2011-12-04 18:11:36 +00:00
bAutoWidth.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
bFilter.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
bInfiniteScroll.js Fixed: When infinite scrolling, DataTables would clear it's internal cache of rows on every draw, when server-side processing was being used. This could result in fnGetNodes giving only a subset of the nodes which are visible, rather than the full set (which it now does). 2010-09-15 10:29:03 +01:00
bInfo.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
bJQueryUI.js 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
bLengthChange.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
bPaginate.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
bProcessing.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
bServerSide.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
bSort.js Fixed: Sorting disabled classes were not being correctly applied if sorting was disabled. This was particularly obvious with jQuery UI theming - 3064 2010-10-16 10:59:21 +01:00
bSortCellsTop.js New: Unit tests for column visibility with complex headers and fnSetColumnVis 2011-04-20 20:05:14 +01:00
bSortClasses.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
fnCookieCallback.js Fixed: Unit tests could fail due to interaction between state saving cookies. Now when tests which state save end, they must call fnCookieDestroy. 2010-10-17 07:43:17 +01:00
fnCreatedCell.js New: Add unit tests for fnCreatedCell and fnCreatedRow 2011-12-28 11:12:30 +00:00
fnCreatedRow.js New: Add unit tests for fnCreatedCell and fnCreatedRow 2011-12-28 11:12:30 +00:00
fnDeleteRow.js Updated: Optimisation on fnDeleteRow to simply remove the search array entry, rather than rebuilding the whole array, also on fnUpdate to only rebuild the single row, rather than the entire thing, and finally fnAddData - allow the redraw to update the search array. 2010-10-16 10:06:49 +01:00
fnDrawCallback.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
fnFilter.js Add unit test for filtering on non-string input 2011-12-06 10:39:08 +00:00
fnFooterCallback.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
fnHeaderCallback.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
fnInfoCallback.js 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
fnInitComplete.js Tidy up use of typeof and undefined in DataTables - the main goal is to reduce code size under 70K here, but its a good opertunity to get this area sorted out. Note that the unit test update for fnInitComplete is because 'json' is now always passed through, although it will be undefined in anything but Ajax sourced client-side processing. 2011-12-14 13:35:49 +00:00
fnRowCallback.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
fnSetColumnVis2.js New: Unit tests for column visibility with complex headers and fnSetColumnVis 2011-04-20 20:05:14 +01:00
fnSetColumnVis.js New: Unit tests for column visibility with complex headers and fnSetColumnVis 2011-04-20 20:05:14 +01:00
gh125 - stripe stripping.js Fix - core: Stripe removal was broken - it was stripping the classes from only the first row rows, rather than all of them, which was wrong. This was unfortunatly introduced in 1.9.4 and there weren't any unit tests to catch it. There are now, and I've rewritten the code that wil remove existing stripe classes. Its now much smaller and should be a little faster. Now it only checks the first row to see if it has any exisiting stripe classes, which is good enough. The smallest this could could be would be a simple removeClass, but that may result in significant overhead which really isn't needed in cases where there are no exisiting stripe classes. 2012-10-19 15:31:35 +01:00
html-autodetect-sort.js Fix: HTML column type could sometimes be overridden by the string sorting 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. 2011-09-09 19:32:59 +01:00
iDisplayLength.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
oLanguage.oPaginate.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
oLanguage.sInfo.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
oLanguage.sInfoEmpty.js Fix unit tests: Witht he change to allow info macros in any of the strings the unit tests need updating to reflect this 2012-04-13 18:23:43 +01:00
oLanguage.sInfoPostFix.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
oLanguage.sLengthMenu.js Dev fix: fnDestry wasn't reapplying original with correctly due to a mistake in an earlier commit - picked up by unit tests 2011-06-25 17:43:47 +01:00
oLanguage.sProcessing.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
oLanguage.sSearch.js Dev fix: fnDestry wasn't reapplying original with correctly due to a mistake in an earlier commit - picked up by unit tests 2011-06-25 17:43:47 +01:00
oLanguage.sUrl.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
oLanguage.sZeroRecords.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
oSearch.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
sAjaxSource.js Initial commit - DataTables 1.7.0 2010-08-17 08:42:13 +01:00
sDom.js Fix: Unit test compatibility fix for IE7 2011-09-10 10:35:03 +01:00
sPaginationType.js Update unit tests to take account of the change to the pagination elements now being A tags, rather than SPANs/DIVs. Good that the change broke the unit tests since it is backwards incompatible 2011-12-06 16:18:50 +00:00
sScrollXY.js Fix: x-scrolling to the end of a table would cause the header and the columns to go out of alignment due to the header not being able to scroll as far as was needed (this was caused by the changes in 876a75f) - 8332. 2012-02-06 18:09:16 +00:00
th_in_body.js New: Support TH elements in the table's TBODY. TH elements are now treated just like TDs in the body. This will work only with DOM sourced data out of the box - any body cell elements that DataTables creates are still TD. 2011-05-04 18:30:44 +01:00