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
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
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
Allan Jardine
cd3719e3a9
Merge branch 'master' of https://github.com/DataTables/DataTablesSrc
2016-08-22 16:28:29 +01:00
Allan Jardine
3d425d98b5
Fixed several typos in documentation
2016-08-22 16:28:11 +01:00
Allan Jardine
be6d4820ee
Merge branch 'master' of github.com:DataTables/DataTablesSrc
2016-08-22 16:27:54 +01:00
Allan Jardine
b5ce731f1d
Merge branch 'master' of https://github.com/DataTables/DataTablesSrc
2016-08-22 16:27:20 +01:00
Allan Jardine
267b8bc843
Modified tests for columnDefs
2016-08-22 16:26:46 +01:00
Allan Jardine
cb09b1871b
Fix: Remove deprecated jQuery $().bind()
and $().unbind()
use, replaced with the $().on()
and $().off()
methods.
...
- DataTables explicitly supports only jQuery 1.7+. `on` and `off` were
introduced in 1.7, so this isn't a problem.
- jQuery migrate shows warnings if bind and unbind are used
- Fixes DataTables/DataTables #853
2016-08-09 17:58:41 +01:00
Allan Jardine
a588b58ec3
Merge branch 'master' of https://github.com/DataTables/DataTablesSrc
2016-08-09 17:58:10 +01:00
Allan Jardine
b41e559175
Modified tests for columnDefs
2016-08-09 17:57:39 +01:00
Allan Jardine
3511506728
Performance: Faster row selection for multiple rows (-api rows()
) by reusing the allowed row index array
2016-08-09 17:57:08 +01:00
Allan Jardine
3bab6dcffd
Merge branch 'master' of https://github.com/DataTables/DataTablesSrc
2016-08-09 17:56:21 +01:00
Allan Jardine
e7b656d3f2
Added new tests for callbacks, first pass complete.
...
(will need to add more tests for stateLoad/save)
2016-08-09 17:55:50 +01:00
Allan Jardine
269bf01da0
Fix: Improve column selector when used with a complex jQuery selector for pseudo selectors
...
- Many thanks to chrisaeg for pointing this out!
2016-08-09 17:55:19 +01:00
Allan Jardine
15baf23757
Dev: Revert 6f6b3d4b14fbba4a8818d8a24dc71763f9e92c80 - it was completely wrong!
2016-08-09 17:52:59 +01:00
Allan Jardine
dfd7241083
Dev: Correct internal parameter names - they we misleading in the code
2016-08-09 17:51:07 +01:00
Allan Jardine
66e1e89ed7
Merge branch 'master' of https://github.com/DataTables/DataTablesSrc
2016-08-09 17:48:56 +01:00
Allan Jardine
429b623190
Added new test
...
Callbacks- createRow.js
2016-08-09 17:48:40 +01:00
Allan Jardine
00682a585e
Merge pull request #80 from aij/master
...
Fix: When sorting a date column, an empty string would be incorrectly used as 1970-01-01.
2016-08-09 17:47:52 +01:00
Allan Jardine
50d14fc06c
Added new tests for columns options.
...
Includes-
columns.orderable
columns.className
columns.name
columns.orderData
columns.searchable
columns.title
columns.visible
columns.width
2016-08-09 17:47:19 +01:00
Allan Jardine
df8192e3be
Fix date sorting of empty fields
...
Previously, date sorting of values that
failed to parse as a date were sorted as
if they were 1970-01-01 (Unix and JS epoch).
Now, they sort before other dates.
Example:
https://jsfiddle.net/qae6zjty/1/
2016-08-09 17:47:03 +01:00
Allan Jardine
3a432c5db3
DataTables 1.10.12!
2016-05-20 14:09:02 +01:00
Allan Jardine
e25a106ecc
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-05-09 15:25:20 +01:00
Allan Jardine
73abf82c1d
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-04-19 17:51:22 +01:00
Allan Jardine
e6d8429987
Dev: Fix recursion error with Responsive from last commit. Need to be
...
more selective about when we fire `column-visiblity`!
2016-04-19 17:50:49 +01:00
Allan Jardine
938289db93
Dev: A JS error was introduced with the column visiblity change - undefined variable.
...
- Need to use two iterators for the columns visible unfortunately
2016-04-19 17:49:39 +01:00
Allan Jardine
1749cb2b1b
Fix: Performance issue when using columns.visible() as a setter.
...
The column resize was being called for every column.
2016-04-18 15:09:38 +01:00
Allan Jardine
e350e155d2
Fix: Column visiblity count was only correct if the table was actually visble itself. We want to be able to count columns even when the table is not visible.
...
- Thread 33203
2016-02-15 15:14:16 +00:00
Allan Jardine
45ed4f3973
Dev: Version bump
2016-02-15 15:13:38 +00:00
Allan Jardine
d0163e24a0
DataTables 1.10.11 release
2016-02-11 14:30:12 +00:00
Allan Jardine
cf37b3bcfc
Fix: Visible column count should take account of display:none
columns as well as those removed from the DOM by DataTables core. This improves compatiblity with Responsive 2.
2016-02-10 15:05:41 +00:00
Allan Jardine
4ce6614977
Fix: Clear the cached data setter for DOM sourced tables when setting column options. This fixes issues with ColReorder and DOM sourced tables
...
- Fixes DataTables/ColReorder #50 .
2016-02-09 15:29:26 +00:00
Allan Jardine
f734cdb672
Dev: Add example ordering information for FixedColumns
...
- Really must make some dynamic logic for this...
2016-02-05 12:15:50 +00:00
Allan Jardine
bc5adb493c
Initial integration work for the uikit framework.
...
Updated the mit license with a comment on additional author Google Inc.
2016-02-05 12:15:16 +00:00
Allan Jardine
c0f3242d0d
Dev: Remove trailing comma
2016-02-04 15:46:23 +00:00
Allan Jardine
e253006207
New: Greatly improve the utility of the row, column and cell selectors:
...
* `dt-api rows()` and `dt-api row()` can now be used with a cell from
the table body (not limited to only the `tr` elements
* `dt-api columns()` and `dt-api column()` can now be used with a cell
from the table body (not just the column headers as before)
* All three selector types can use an element with the `data-dt-row`
and / or `data-dt-column` (as approrirate) attributes on them or a
parent. This is useful for API integration with FixedColumns and
Responsive. For example you can now pass a cell in a fixed column
into the `dt-api cell()` method to select the original cell.
2016-02-04 14:44:38 +00:00