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

1619 Commits

Author SHA1 Message Date
Allan Jardine
f26ec6052f Merge branch 'master' of github.com:DataTables/DataTablesSrc 2020-05-21 09:49:49 +00:00
Allan Jardine
0e6d8ca196 Update make scipt for searchbuilder 2020-05-21 09:48:58 +00:00
Allan Jardine
f7065b99ee Fix: Protect against draw being 0
https://datatables.net/forums/discussion/61529/question-about-serverside-draw-parameter#latest
2020-05-21 09:47:21 +00:00
Allan Jardine
358627ae0f Fix: Arrays weren't working for -api tables()
- DD-1403
2020-05-21 09:46:07 +00:00
Allan Jardine
b2ca1a9d3f Fix: Table selector of 0 wasn't limiting the API to just the first table when using tables()
- Error was the loose type checking on the selector
- https://datatables.net/forums/discussion/61468
- Thanks Kevin!
2020-05-21 09:45:33 +00:00
Allan Jardine
0c9a4ce933 Fix - Edge: Clear in search input wasn't working 2020-05-21 09:44:51 +00:00
Allan Jardine
eaf4c89ee1 Remove deprecated jQuery event shorthandlers 2020-05-21 09:43:21 +00:00
Allan Jardine
79c4414d97 Fix: & was not being correctly encoded for the HTML entity escape
https://datatables.net/forums/discussion/61240/how-should-html-character-entities-be-escaped-when-rendering-from-an-ajax-request
2020-05-21 09:42:36 +00:00
Allan Jardine
560dde4217 Fix - Compact class would cause header centered text to be slightly off center
https://datatables.net/forums/discussion/52288/datatables-compact-class-prevents-centering-of-elements#latest
2020-05-21 09:39:41 +00:00
Allan Jardine
05acb1ba4f Merge branch 'master' of github.com:DataTables/DataTablesSrc 2020-05-21 09:38:56 +00:00
Allan Jardine
49c2ccf8c7 Dev: Use search panes release number 2020-05-21 09:38:16 +00:00
Allan Jardine
c0071db866 Material style updated to use MDC
Jira Issue DD-1354
2020-05-21 09:37:31 +00:00
Allan Jardine
7779ad6488 Dev: Overflow-x only for syntax highlighter - IE11 2020-05-21 09:25:40 +00:00
Allan Jardine
6e51a62684 Avoid applying padding to non sortable items on small tables
I don't know if there are more to this or if it would break some other rules but as of my testing it should be fine to remove this rule for headers that have no sorting applied to them.

This is the case already for "normal sized" tables as the padding-right rule is only applied if there is a sorting class to the element. But it has been forgotten for the table-sm variant. So there are two options that I can see.

Specify this rule does not apply if there is a sorting_disabled class
Do the same as what was done for the normal sized table in the following commit: 4e611f31ff
2020-05-21 09:24:54 +00:00
Allan Jardine
90a43ab2ff Update copyright date 2020-03-13 09:25:59 +00:00
Allan Jardine
0f2fc016e2 Dev: 1.10.21-dev 2019-11-20 10:19:39 +00:00
Allan Jardine
1ef5d10c0c Fix: IE11 when used with a file:// file and state saving enabled would never complete the table's initialisation. It still won't work with state saving (localStorage isn't supported in IE for file://) but it will now load the table
- https://datatables.net/forums/discussion/comment/159703#Comment_159703
2019-11-20 10:19:06 +00:00
Allan Jardine
ecd2c966b9 Fix: JS error when setting data for an unrendered row
- DD-1209
2019-11-20 10:17:56 +00:00
Allan Jardine
83657a29e3 Release 1.10.20 2019-10-01 13:42:32 +00:00
Allan Jardine
03d850c226 Fix - performance: When changing column visibility via the API the header and footer should only be redrawn once per call (after the columns have been changed). State saving likewise.
- https://datatables.net/forums/discussion/58304
2019-10-01 13:41:33 +00:00
Allan Jardine
07a6d7f097 Fix: Regex searches can't be cummulative since the regex can alter what has gone before 2019-10-01 13:40:09 +00:00
Allan Jardine
6ec6d155f1 Dev: Fix last / end paging buttons disab;e logic was inverted
- DD-1098
- DD-1099
2019-10-01 13:39:44 +00:00
Allan Jardine
b42f10ce98 Dev: Fix error in api structure building 2019-10-01 13:38:49 +00:00
Allan Jardine
94d67b5ebc Fix: Disabled paging buttons should be tab index -1.
Fixes #146
2019-10-01 13:37:54 +00:00
Allan Jardine
a3965b5994 Dev: Remove debug 2019-10-01 13:34:23 +00:00
Allan Jardine
dbdeb68022 Performance: Optimisations in creation of API instances and extending 2019-10-01 13:33:34 +00:00
Allan Jardine
2d7be46f41 Dev fix: Correct variable naming error
- Fix #145
2019-10-01 13:31:27 +00:00
Allan Jardine
56af3a08b2 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2019-10-01 13:29:06 +00:00
Allan Jardine
c077e590d3 Adding examples.php to include updated searchPanes terminology 2019-10-01 13:28:43 +00:00
Allan Jardine
2f73d16738 Fix - JS: Strip UTF8 new line separator from filter data
- https://datatables.net/forums/discussion/comment/155263#Comment_155263
2019-10-01 13:26:44 +00:00
Allan Jardine
b0ed3e262c missing semi-colon found when compressing 2019-10-01 13:14:17 +00:00
Allan Jardine
1ea1821bf8 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2019-10-01 13:07:55 +00:00
Allan Jardine
351714225c DEV nicer jasmine reporter - shows tests being executed 2019-10-01 13:07:33 +00:00
Allan Jardine
d5a2cce299 Fix: Performance regression that was introduced in 1.10.17 for the cell selector. This was particularly apparent in exporting data with Buttons which uses the cells() method.
- DD-9
2019-10-01 13:07:09 +00:00
Allan Jardine
94b2b2823b Merge branch 'master' of github.com:DataTables/DataTablesSrc 2019-10-01 13:03:34 +00:00
Allan Jardine
b1c03b8eae DEV added KeyTable to karma file 2019-10-01 13:03:07 +00:00
Allan Jardine
2d6d87b222 Fix: UIKit integration - better styling for filter and length inputs
- 611c99c96e (commitcomment-32046169)
2019-10-01 13:02:44 +00:00
Allan Jardine
cddf43257d Dev: Remove debug 2019-10-01 13:01:54 +00:00
Allan Jardine
6839b75665 Fix: API added data for an orthogonal HTML5 sourced table would not show the new content in the orthogonal data's cell.
- test added
- https://www.datatables.net/forums/discussion/54118
2019-10-01 13:00:17 +00:00
Allan Jardine
45a6b4e04f Merge branch 'master' of github.com:DataTables/DataTablesSrc 2019-10-01 12:56:54 +00:00
Allan Jardine
8e6d438bf0 Fix - examples: SQL Server example SQL could throw an error for servers configured with a French timezone - was read as ydm! 2019-10-01 12:56:27 +00:00
Allan Jardine
ab60d5949c Fix typo in event documentation 2019-10-01 12:55:14 +00:00
Allan Jardine
9de4f80772 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2019-10-01 12:50:50 +00:00
Allan Jardine
86227bc2a1 DEV reworked the unit test for column().dataSrc() 2019-10-01 12:50:26 +00:00
Allan Jardine
f94a9ba56d Fix: Support for unicode line separator as a new line character
- https://datatables.net/forums/discussion/52654/search-filter-does-not-match-all-newline-characters#latest
- DD-669
2019-10-01 12:49:39 +00:00
Allan Jardine
2cd1df3996 Fix: When converting from camelCase to the legacy Hungarian notation which is used internally, the top level and column properties wouldn't overwrite any existing Hungarian notation parameters. This can arise if you use the same object to initialise multiple different tables at different points (i.e. in our tests!). It is unlikely to ever happen in the realworld, and it would just result in the more modern notation being used by default. 2019-10-01 12:45:41 +00:00
Allan Jardine
30e20ddc5b Merge branch 'master' of github.com:DataTables/DataTablesSrc 2019-10-01 12:39:08 +00:00
Allan Jardine
464f4847b3 DEV changed to allow extensions to be tested and for all tests to run 2019-10-01 12:38:45 +00:00
Allan Jardine
9f591da9e2 Fix: jQuery 3.2 deprecates direct calling of event triggers (e.g. $().scroll() in this case)
- DD-610
2019-10-01 12:38:21 +00:00
Allan Jardine
5e6ca62d1d Fix: Cell selector when used with options (e.g. page:'current') wasn't correctly applying those options to the row and column selectors if selecting the cell by row and column.
- This was caused by a8d0707575b20a0a38461c1cd5edc0dd8a7a3868
- M581
2019-10-01 12:28:50 +00:00