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

109 Commits

Author SHA1 Message Date
Allan Jardine
660e8cb374 Update - examples: Witht he change in name from mDataProp to mData, this change is now refelected in the examples to encorage mData usage (do remember that mDataProp will still work, but use of mData is encoraged). 2012-08-08 22:30:26 +01:00
Allan Jardine
9c51aa0ad7 New: xhr event 2012-08-08 16:27:42 +01:00
John Kristensen
3be6982a63 Fix typos in examples/api/multi_filter_select.html 2012-07-05 15:31:18 +10:00
Allan Jardine
dc3f9b148e Fix - examples: Security updates to the server-side processing demo scripts from Chris Wright - specifically no MySQL error strings are shown to the end user. 2012-06-12 10:44:10 +01:00
Allan Jardine
90edd0bd94 Example - update: Use $ and fnUpdate in the index column example - 9840 2012-05-10 18:52:25 +01:00
Allan Jardine
09a9755540 Fix - examples: The global filter in the example PHP scripts wasn't taking into account the bSearchable_{i} flag - it was only being checked on individual column filtering - 8949 2012-04-20 08:14:48 +01:00
Allan Jardine
1fa1ef94a8 Update - examples: Update XRegExp to 1.5.1 with IE8 fix 2012-04-16 18:42:21 +01:00
Allan Jardine
43f7878fab Fix - examples: Remove debug code 2012-04-16 18:42:01 +01:00
Allan Jardine
dc59830454 Update: Update the text for the two jEditable examples 2012-04-13 15:20:09 +01:00
Allan Jardine
2a60a96177 New: Static API method - fnVersionCheck same as the version check that is already available as an instance method, but here available as a static API method attached to $.fn.dataTable
New: Static API method - fnIsDataTable - check if a TABLE node is a DataTable or not
New: Static API method - fnTables - get the DataTables that are initialised on the table (optionally limit to just the visible tables)
Examples update - Tabs and scrolling updated to use the new static fnTables method
Fix: Settings object model was missing the nScrollHead and nScrollFoot properties from the documentation
2012-04-13 10:44:25 +01:00
Allan Jardine
4be9b362c8 Fix: When scrolling and row height collapse was enabled, it was possible that the table column width applied would be too small due to the fact that a scrollbar would be shown for a fraction of a second, due to the height of the scroll body container enforced by the scroll collapse. Fix is to take into account the header height before the width calculation is done 2012-04-12 17:27:05 +01:00
Allan Jardine
d7912b09a0 Examples - fix: Single row selection could have a JS error if deleting a row when no rows selected 2012-03-11 17:56:55 +00:00
Allan Jardine
c09b0b89ea Examples update: Update the JSONP and pipelining examples to store the returned jqXHR object int he settings object. Helpful for the debugger so we can see what the sever says 2012-03-08 19:00:22 +00:00
Allan Jardine
b6709c017b Examples: When the node to show the XHR return is not available, don't try to use it 2012-03-03 13:49:13 +00:00
Allan Jardine
126a4fe44e Fix: When scrolling is enabled the initial width of the header was being set to 150% which was a bit random and could result in the header flashing its display in the wrong place when loading. The fix is to use 100% unless x-scrolling is being forced, at which point it needs to match the inner table - 8332 2012-02-25 07:56:27 +00:00
Allan Jardine
aa0ff53ee5 Examples: Update demo SSP PHP code 2012-02-24 06:55:44 +00:00
Allan Jardine
273aab7e59 Examples: Update - Scrolling paging plug-in now uses A tags (based on the updated two button paging for 1.9), has full accessaibility and jQuery UI support 2012-02-16 13:26:09 +00:00
Allan Jardine
d3c2fd551b Fix - examples: Remove link to custom column ordering - now recommended mDataProp 2012-02-10 07:38:45 +00:00
Allan Jardine
019b235b0e Examples: Fix: SyntaxHighlighter was having problems with copy and paste in webkit browsers - fix pushed to syntax highlighter here: https://github.com/alexgorbatchev/SyntaxHighlighter/pull/86 - this is the commit of that fix to the local copy 2012-01-28 10:08:43 +00:00
Allan Jardine
fbab63b7b5 Removed: Column reordering example using sName - it is much better to use mDataProp for this kind of thing now and column reordering is depricated in the 1.9 release of DataTables, so remove the example showing how it might be done to stop new users using it. 2012-01-21 07:43:47 +00:00
Allan Jardine
ccb99b3305 Add the localstorage example to the links list 2012-01-14 12:02:34 +00:00
Allan Jardine
368585da1e Add localstorage example 2012-01-14 10:09:25 +00:00
Allan Jardine
7eb80ac7e9 Dev change: For jQuery convention, call the DataTables CSS file jquery.dataTables.css (and similar for themeroller compatible file)
New: Base demos using the two new stylesheets
2012-01-08 20:53:42 +00:00
Allan Jardine
94976c2554 Fix: IE7 issue with xregexp 2012-01-07 16:58:01 +00:00
Allan Jardine
e92739fb1f Fix: jEditable calculated width could cause column to resize - just force width to be 100% of the cell, rather than calculated 2012-01-03 09:07:14 +00:00
Allan Jardine
e8c4436132 Update examples list with new custom events demo link 2011-12-28 11:55:39 +00:00
Allan Jardine
e4af1643a0 New: Events demo 2011-12-28 11:49:21 +00:00
Allan Jardine
11557abf0d Remove debug testing in example 2011-12-28 11:13:59 +00:00
Allan Jardine
cb014e81d7 New: Add unit tests for fnCreatedCell and fnCreatedRow
New: New init option fnCreatedRow - very similar to fnCreatedCell but in this case used for TR elements
Updated: fnCreatedCell now also gets the column index passed in
2011-12-28 11:12:30 +00:00
Allan Jardine
8c9f0b61e8 Updated: Nearly all callbacks now use an array and fire an event using the use DataTables standard method for dealing with callbacks. row, header, footer, init and pre-draw callback have been added to this new method. Only aoStateSave does not use method yet. fnCookieCallback and fnInfoCallback will not use the new methods.
Update: fnRowCallback - no need to return the TR element - it was a fairly pointless thing to do - if you want to replace the element then you need to do it with fnDrawCallback
2011-12-27 13:02:18 +00:00
Allan Jardine
d18b68d067 Tabs and spaced mixed in the custom vars example 2011-12-25 11:52:56 +00:00
Allan Jardine
94542c810a New: fnRender update - data object now also contains mDataProp along with the other information from before. There is also a second parameter passed to the function - the current value of the cell (was possible to get it from the data array, but this makes life a little easier if you want to get just that, which is the most common usage here). 2011-12-23 18:31:25 +00:00
Allan Jardine
2213cef905 Typo in pipelining example 2011-12-23 17:59:33 +00:00
Allan Jardine
6f5ef7ef07 Update row details examples to use fnIsOpen - 7758 2011-12-15 20:43:06 +00:00
Allan Jardine
699dabeec8 Simplify select row code 2011-12-15 12:35:43 +00:00
Allan Jardine
9720130cbc Update example links with new flexible width example 2011-12-15 10:19:24 +00:00
Allan Jardine
aa39fc2b96 New: Flexible width example 2011-12-15 10:17:36 +00:00
Allan Jardine
91858f9e86 Updated: Modification to the way table width is handled - if the 'width' attribute is on the table tag, then we use that to size the table. This makes having a table width of 100% much easier than before. The reason we need to do this is that there just doesn't appear to be a good way to get the relative width from stylesheets across browsers. 2011-12-15 09:43:31 +00:00
Allan Jardine
f1a74f3c25 Merge branch '1_9_DEV' of github.com:DataTables/DataTables into 1_9_DEV 2011-12-14 18:07:08 +00:00
Allan Jardine
cf0bfe0145 Update documentation links to add defaults example and remove fnGetNodes from post-init description 2011-12-14 18:05:57 +00:00
Allan Jardine
f4ff79bfba Update the select row examples to use the $ API method 2011-12-14 17:59:53 +00:00
Allan Jardine
4bfe3d7c89 Update highlight example to use $ API method 2011-12-14 17:51:06 +00:00
Allan Jardine
9ebabaf089 Update: Modify the form example to use the new $ API method 2011-12-14 17:47:22 +00:00
Allan Jardine
5088e48b80 Update editable example to use $ API method 2011-12-14 17:45:19 +00:00
Allan Jardine
5a506746bb Fix: Alter how the selector for the $ API method works so that it works on the TR elements and their decendants
Update: modify the api_in_init.html example to use the $ API method
2011-12-14 17:42:25 +00:00
Allan Jardine
22bffbb014 Update post init events example to use $ API method - easlier than fnGetNodes 2011-12-14 16:40:17 +00:00
Allan Jardine
f547513227 New: Example showing how to set defaults 2011-12-14 16:28:37 +00:00
Allan Jardine
8eb722271e Update the styling of the default pagination to make it more attractive. Also remove the previous change to use A tags - concerned about backwards compatibility and developers needing to update styles. Impact on accessibility to be evaluated, when ARIA button roles are added. 2011-12-10 10:33:00 +00:00
Allan Jardine
486315a25c Fix: Was only binding xhr event where there was more than one table! Doh! 2011-12-06 17:09:39 +00:00
Allan Jardine
8795d97194 Fix: Add field quotes (`) to the main server-side processing script. For most cases this will make no difference, but some columns might have a special character in them (- for example) and need this quoting. 2011-12-06 10:59:20 +00:00