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

1095 Commits

Author SHA1 Message Date
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
cedb9e2ada Added code to deal with empty db and dt column
Modified pluck method to skip column with empty db and map correct array for filter to be effective
Modified data_output for better process of column with empty db
Modified filter to skip empty db column
2020-05-21 09:40:25 +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
99a20e7e01 Fix example: Pipeline needs to return the Ajax object
https://datatables.net/forums/discussion/60074/reference-to-xhr-not-passed-for-xhr-dt-when-using-pipline-plugin#latest
2020-05-21 09:36:00 +00:00
Allan Jardine
c1e67aec89 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2020-05-21 09:31:59 +00:00
Allan Jardine
adef96b700 Fix - docs: Typo in ColReorder link
- Thank you Iain Twentyman
2020-05-21 09:31:16 +00:00
Allan Jardine
68798c37ac DEV added a few tweaks for DD-1294 2020-05-21 09:30:34 +00:00
Allan Jardine
5e5295febd Slight change so that the truncated data in the ajax space contains both the start and the end of the json with a message in the middle.
Jira Issue DD-1294
2020-05-21 09:29:53 +00:00
Allan Jardine
f3f0a291cd Searchpanes examples testing performance have large amounts of rows, which load slowly when the ajax rendering is active, now any ajax loading will only display the first thousand rows under the ajax tab.
Jira Issue DD-1294
2020-05-21 09:29:10 +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
99773f6d23 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2019-11-20 10:25:09 +00:00
Allan Jardine
37099cbf55 Dev: Syntax highlighter was overflowing in Firefox
- DD-1251
2019-11-20 10:24:35 +00:00
Allan Jardine
e42575bd39 DEV fixed the spelling mistake "Sidney" in the test data! 2019-11-20 10:21:49 +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
6ff3e3704f Merge branch 'master' of github.com:DataTables/DataTablesSrc 2019-11-20 10:18:32 +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
bbbb276569 Added Comment
changed the comment for removing pdo.php in local  or production environment
2019-11-20 10:16:13 +00:00
Allan Jardine
277feb0075 Update - example: Note use of -api columns().every() in filtering example
Thanks for the suggestion Martin
2019-11-20 10:12:45 +00:00
Allan Jardine
ad7711746b DEV tweak to a test 2019-11-20 10:12:20 +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
c5a908dbd2 Dev: Fix error in selector for multi-select 2019-10-01 13:29:29 +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
c9e595ab62 Fix - examples: Typo in JS data source example
- Thanks Mark Partlett!
2019-10-01 13:19:36 +00:00
Allan Jardine
b0ed3e262c missing semi-colon found when compressing 2019-10-01 13:14:17 +00:00
Allan Jardine
b8c80378c6 Fix - example: clear button support for multi-filter example
https://www.datatables.net/forums/discussion/56137/filter-clear-not-working-on-ie11-with-individual-search-columns#latest
2019-10-01 13:13:49 +00:00
Allan Jardine
68e41c4a6c Fix - example: Form input example doesn't use live DOM sorting, so shouldn't show the input columns as sortable
- DD-823
2019-10-01 13:08:42 +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