Allan Jardine
9005dadaef
Dev: Update moment and add note about test files
2016-12-02 17:23:26 +00:00
Allan Jardine
8d662b2229
DataTables 1.10.12!
2016-12-02 17:22:55 +00:00
Allan Jardine
635aad30cc
Fix: Align "show entries" text correctly for cases where the Semantic UI JS is not available on the page
2016-12-02 17:22:39 +00:00
Allan Jardine
4865de6399
Fix: Semantic UI styling with a scrolling table
2016-12-02 17:22:08 +00:00
Allan Jardine
63f8c2d9ae
Dev: Apply previous fix to Bootstrap 4 as well
2016-12-02 17:21:52 +00:00
Allan Jardine
d014c19992
Fix: Apply border-collapse: separate
to Bootstrap styled DataTables
...
- Previously it was only used for tables which were marked with the
`table-bordered`, but that caused issues with scrolling tables which
are borderless.
- See DataTables/FixedColumns #57
2016-12-02 17:21:37 +00:00
Allan Jardine
627ca5aef6
Fix: Remove MySQL specific commands from demo SSP class
...
- SQL_CALC_FOUND_ROWS was used to try and speed the queries up, and that
works well for MySQL, but it confuses anyone who tries to modify this
script for other databases.
- Field escaping should possibly be considered in future as well
2016-12-02 17:21:21 +00:00
Allan Jardine
632f449467
New: $.fn.dataTable.util
methods are now overridable (throttle
and escapeRegex
)
...
- It is useful to be able to replace some of the utility methods with
your own custom ones - for example a debounce rather than tha throttle
for filtering.
- This commit reorders the code a little to make that possible. No new
code is present at such - its really about reordering the current code
to make `$.fn.dataTable.util` the host for the original functions.
Backwards compatiblity is provided by assigning the util methods to
their old variables. With the next major update they should be removed
and the util methods used directly.
- Other util methods should be added at the same time, escapeHtml,
unique, etc.
- Fixes DataTables/DataTables #810
2016-12-02 17:20:34 +00:00
Allan Jardine
275d326cc8
Update: Update to jQuery 1.12.3
2016-12-02 17:20:03 +00:00
Allan Jardine
83af61dd4b
Dev: Updating the styling of the code blocks in the examples
2016-12-02 17:19:48 +00:00
Allan Jardine
61ab42e4b2
Fix - example: Server-side pipelining didn't work when all data is requested
...
- Although this mitigates any benefits of using server-side processing
it is something that should be handled.
- Thanks Hormah for pointing this out.
2016-12-02 17:19:00 +00:00
Allan Jardine
452ab2b541
Update dataTables.bootstrap4.js
2016-12-02 17:18:45 +00:00
Allan Jardine
a3722981df
fixing pagination focus issue
2016-12-02 17:18:29 +00:00
Allan Jardine
327d71584b
Fix: dt-api order()
called with an empty array would cause a JS error
...
- Fixes DataTables/DataTables #800
- Its safe to check for `.length` on `orders` at this point since it can
be either a number, an array or undefined. The number and undefined
conditions have already been checked, so it must be an array (of
whatever length).
2016-12-02 17:18:14 +00:00
Allan Jardine
16c081d889
Dev: Fix recursion error with Responsive from last commit. Need to be
...
more selective about when we fire `column-visiblity`!
2016-12-02 17:17:58 +00:00
Allan Jardine
e9fc9dab2f
Dev: A JS error was introduced with the column visiblity change - undefined variable.
...
- Need to use two iterators for the columns visible unfortunately
2016-12-02 17:17:26 +00:00
Allan Jardine
d9775c4085
Fix: Performance issue when using columns.visible() as a setter.
...
The column resize was being called for every column.
2016-12-02 17:16:39 +00:00
Allan Jardine
76c4283b47
Fix: Bootstrap 4 flexbox grid
...
The flexbox enabled grid in bootstap 4 requires the lowest `.col-` to be set. https://github.com/twbs/bootstrap/issues/17603#issuecomment-180862254
2016-12-02 17:16:23 +00:00
Allan Jardine
1071d82541
Merge branch 'master' of github.com:DataTables/DataTablesSrc
2016-12-02 17:16:08 +00:00
Allan Jardine
9a8636af2a
Fix - example: Direct link to dt-init ajax.data
from its example
2016-12-02 17:15:49 +00:00
Allan Jardine
38d7e00e30
Merge pull request #70 from markvantilburg/patch-7
...
Fix: Remove obsolete CSS option for Firefox
2016-12-02 17:15:33 +00:00
Allan Jardine
aa23ed8744
Merge pull request #71 from markvantilburg/patch-6
...
Fix: Remove obsolete CSS option for Firefox
2016-12-02 17:15:17 +00:00
Allan Jardine
03c918d92e
Merge pull request #72 from markvantilburg/patch-4
...
Fix: Remove obsolete CSS option for Firefox
2016-12-02 17:15:02 +00:00
Allan Jardine
7e9ef80c58
Merge pull request #73 from markvantilburg/patch-2
...
Fix: Remove obsolete CSS option for Firefox
2016-12-02 17:14:46 +00:00
Allan Jardine
d7c1892cb2
Update jquery.dataTables.scss
2016-12-02 17:14:29 +00:00
Allan Jardine
ef61fb5ded
Update dataTables.uikit.scss
2016-12-02 17:14:13 +00:00
Allan Jardine
31c7312f9f
Update dataTables.semanticui.scss
2016-12-02 17:13:57 +00:00
Allan Jardine
1416aabcc9
Update dataTables.foundation.scss
2016-12-02 17:13:24 +00:00
Allan Jardine
3f0245edd6
Update dataTables.bootstrap4.scss
2016-12-02 17:13:08 +00:00
Allan Jardine
aa14a9e50d
Dev: Update markdown to allow a line break with a single line.
...
- This is primarily for the forum
- This is quite common in markdown extensions now and has plenty of
backup from Stackoverflow etc to suggest it is a good idea. About time
I did it as well!
2016-12-02 17:12:34 +00:00
Allan Jardine
321be3bdb3
Remove prefixed -moz-box-sizing (not needed since ff 29)
...
https://developer.mozilla.org/en-US/Firefox/Releases/29
2016-12-02 16:46:11 +00:00
Allan Jardine
130687eeef
Fix: caption
tags should have the caption-side
CSS value read from the caption
tag itself, not the tabe
tag.
...
- See thread 38094. Thanks _puls_!
2016-09-30 11:15:24 +01:00
Allan Jardine
0034f6c63e
Fix: Using -init columns.data
to access a data point which uses a backslash in its name would result in an error due to an incorrectly escaped regex.
...
- Fixes DataTables/DataTables #869
2016-09-29 16:22:53 +01:00
Allan Jardine
6e6705da26
Dev: Include jquery-plugin
in keywords for package.json
2016-09-29 15:40:29 +01:00
Allan Jardine
deaf51cef5
New: -api $.fn.dataTable.isDataTable()
will now check for DataTable API instances as well (i.e. variables passed in)
...
- Thread 38053
2016-09-29 11:28:42 +01:00
Allan Jardine
62b6cb1b56
Fix: If initialising a DataTable when the window was horizontally scrolled the browser detection would incorrectly determine that rtl layout was being used (effects scrolling view).
...
- Issue was due to the use of `position:fixed` for the element - from
c856d0eb232ce41c76d0c30739d33e47cc7288f4. Ironically that change just
moved the issue that it was trying to solve!
- Fixes DataTables/DataTables #866
2016-09-21 10:57:59 +01:00
Allan Jardine
1e4dccb54d
Dev: Fix no selector issue introduced by dfbf4fa23aa0952ee007bca06b791c2cd0ad48bb
2016-09-20 09:14:08 +01:00
Allan Jardine
f7d4b8a9cc
Fix: Row selector would incorrectly select rows if row index 0 was passed in with a selector modifier.
...
- See thread 37834. Much qudos to `guyclairbois` for spotting this and
test case!
2016-09-19 16:30:12 +01:00
Allan Jardine
010e070ff0
Merge branch 'master' of github.com:DataTables/DataTablesSrc
2016-09-19 16:29:36 +01:00
Allan Jardine
46d10406a2
Added tests for columns API
2016-09-19 16:27:30 +01:00
Allan Jardine
71fcdec54b
Fix: Fooundation 6 styling for the processing element needs to use the callout
class
...
- Fixes DataTablesSrc #82
2016-09-16 14:54:19 +01:00
Allan Jardine
ad129699b6
Merge branch 'master' of https://github.com/DataTables/DataTablesSrc
2016-09-16 14:51:45 +01:00
Allan Jardine
3987e441b8
Added modified tests for stateLoad/stateSave
2016-09-16 14:51:28 +01:00
Allan Jardine
ddec443008
Dev: 1.10.13-dev version indicator
2016-08-23 16:01:42 +01:00
Allan Jardine
19a3832792
Dev: Trigger a state save on the first draw like before
...
- Bug was introduced by the ordering of the code for the callback state
loading
2016-08-23 16:01:25 +01:00
Allan Jardine
02e5dbcf7a
Fix: jQuery selectors which had a comma in them were incorrectly split by DataTables causing them to be invalid or give incorrect results
...
- fb-87
- Forum thread 34641
2016-08-23 14:32:50 +01:00
Allan Jardine
fb708efe7e
Fix: Number renderer was not correctly rounding values
...
- Add number renderer tests
2016-08-23 11:25:50 +01:00
Allan Jardine
55e0c4da2c
Merge branch 'master' of github.com:DataTables/DataTablesSrc
2016-08-23 11:25:33 +01:00
Allan Jardine
f4d266b5c7
Added test plans for table api
2016-08-23 11:25:16 +01:00
Allan Jardine
26fb2b9524
New: -init stateLoadCallback
can now use a callback function for async loading of state data, rather than requiring it to be sync.
...
- async is deprecated in the XHR spec and will be removed from Chrome
(m53 I think).
2016-08-22 16:31:19 +01:00