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

1016 Commits

Author SHA1 Message Date
Allan Jardine
9f5a1fc2c3 DEV changes to the docs and a few more tests (note columns().visible() is still a WIP) 2018-06-14 11:15:46 +01:00
Allan Jardine
4c558e0a13 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2018-06-14 11:15:30 +01:00
Allan Jardine
dbcc844022 DEV more unit tests (seeing a pattren here?) 2018-06-14 11:15:13 +01:00
Allan Jardine
14436e1696 Dev: Switching to always use https rather than protocol relative for example loading libraries 2018-06-14 11:14:41 +01:00
Allan Jardine
2b781ff0bd Update: Bootstrap 4 2018-06-14 11:14:25 +01:00
Allan Jardine
df4c3d25f8 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2018-06-14 11:13:54 +01:00
Allan Jardine
4d1db22140 dev pushing today's selection of marvellous tests 2018-06-14 11:13:38 +01:00
Allan Jardine
aee9a09035 Fix - CSS: Bootstrap 4 needs border-spacing:0 if used with border-collapse and cellspacing isn't used in the HTML 2018-06-14 11:13:22 +01:00
Allan Jardine
9b95edf189 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2018-06-14 11:12:36 +01:00
Allan Jardine
5bf38afa28 dev minor updates to examples docs 2018-06-14 11:12:20 +01:00
Allan Jardine
c4dd1136fb Merge branch 'master' of github.com:DataTables/DataTablesSrc 2018-06-14 11:12:04 +01:00
Allan Jardine
66c6139c71 Dev: Fix for currency sorting 2018-06-14 11:11:48 +01:00
Allan Jardine
f5283f648c Merge branch 'master' of github.com:DataTables/DataTablesSrc 2018-06-14 11:11:17 +01:00
Allan Jardine
2024dc274b dev more progress with additional tests 2018-06-14 11:11:01 +01:00
Allan Jardine
cdc3f4137a Sorting - don't treat 0 as negative infinity 2018-06-14 11:10:30 +01:00
Allan Jardine
4aa55efc91 dev continuing with extending the unit tests - mostly around the index and indexes methods 2018-06-14 11:09:43 +01:00
Allan Jardine
5e74941660 Merge branch 'master' of github.com:DataTables/DataTablesSrc
added new tests for cell().node()
2018-06-14 11:08:57 +01:00
Allan Jardine
74e37c13fe added tests for cell().node() 2018-06-14 11:08:41 +01:00
Allan Jardine
fb59f8f903 Styling: UI Kit tech preview moving on to UI Kit v3 2018-06-14 11:07:53 +01:00
Allan Jardine
612c508f1f New: Support Bitcoin and Ethereum symbols for currency sorting
Thread 46174
2018-06-14 11:06:34 +01:00
Allan Jardine
99a313b529 Dev fix: Address scrolling issue introduced by #113. The zeroing of height should be applied to the sizer's child node 2018-06-14 11:06:18 +01:00
Allan Jardine
97e465613b Dev: use nvarchar for SQL Server demos rather than varchar 2018-06-14 11:06:03 +01:00
Allan Jardine
4eec66f677 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2018-06-14 11:05:47 +01:00
Allan Jardine
aa69bda137 Build: Add a JS Hint method for the build functions
Fix: Typo in row selector docs
2018-06-14 11:05:31 +01:00
Allan Jardine
3f7da1674f Remove inline styles in injected HTML
fixes #112
2018-06-14 11:04:58 +01:00
Allan Jardine
d7ac068183 Fix: Using a ndoe as a row selector when it had already been removed from the table could incorrectly select the row
- Fixes GH #994
2018-06-14 11:04:42 +01:00
Allan Jardine
609f3173f8 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2018-06-14 11:04:11 +01:00
Allan Jardine
81218f4fa3 Fix - examples: PHP demo script could use invalid SQL if an orderable:false column was ordered upon
- Thread 45150
2018-06-14 11:03:55 +01:00
Allan Jardine
713b7498df Fix: Correct comment for Bootstrap 4 integration (stated that it was Bootstrap 3) 2018-06-14 11:03:39 +01:00
Allan Jardine
75a665f64f DataTables 1.10.16 release 2017-08-31 14:52:17 +01:00
Allan Jardine
421a5e17ac Dev: Updating third party libraries to latest versions 2017-08-31 14:52:02 +01:00
Allan Jardine
ae945eae3d Fix: When removing rows with server-side processing and paging enabled, the client-side could request a page that no longer exists.
- Thread 44354
2017-08-31 14:51:46 +01:00
Allan Jardine
8e0224cf11 Fix: Large numbers shown in the length -tag select should be formatted using the built in number formatter.
- FB 153
2017-08-31 14:51:15 +01:00
Allan Jardine
cbec002afc Fix - styling: Bootstrap 4 integration with the table-sm class (renamed from condensed in Bootstrap 3) 2017-08-31 14:50:59 +01:00
Allan Jardine
2f2629433d Dev: Changing name of dev include file for consistency with Editor 2017-08-31 14:49:55 +01:00
Allan Jardine
d894dc7fbc Fix - examples: Server-side processing example in data sources directory wasn't showing the server-side processing script. 2017-08-31 14:49:38 +01:00
Allan Jardine
576b38ef96 Fix: Bootstrap 4 no longer just a tech preview with BS4 going beta 2017-08-31 14:49:22 +01:00
Allan Jardine
344bae3966 Fix: Revert some limited changes from 5608cc872abbc493fa2ec533510576ea8ad066d3
Update: Bootstrap 4 beta used for examples

- Fixes #105
2017-08-31 14:49:06 +01:00
Allan Jardine
2000e66401 Fix: Jquery UI 1.12 integration. The spelling of caret was fixed
- Fixes DataTables/DataTables #963
2017-08-31 14:47:47 +01:00
Allan Jardine
1900c20e5f Fix: Add class names to column header cells before extensions are initialised. This allows extensions such as Buttons' column visibility selector to operate on class names given in the column options.
- Thread 34321
- FB 286
2017-08-31 14:46:59 +01:00
Allan Jardine
57fd628cb7 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2017-08-31 14:46:43 +01:00
Allan Jardine
8cdb720a42 Fix - docs: 404 link error in -init columns.orderData documentation
Thanks ianchanning!
2017-08-31 14:46:26 +01:00
Allan Jardine
b90cfd5a2f Revert "DataTables 2 development starts"
This reverts commit b07cbf3ad523a808ad8ad788dbacaabe456d43d1.
2017-08-31 14:46:09 +01:00
Allan Jardine
d788695396 Revert "Update: Change -init dom default to lftrip (move the processing element after the table). This is to allow correct layering when scrolling - previously the processing element wouldn't show if scrolling was enabled without a z-index value."
This reverts commit ff352c4b077d1e0a558c03ff36e15d787560fafa.
2017-08-31 14:45:54 +01:00
Allan Jardine
069d24e060 Revert "Dev: Missed a few uses of jQuery UI specific code"
This reverts commit 3690a478e5438b4c744ffb2bf1506dae35162764.
2017-08-31 14:45:38 +01:00
Allan Jardine
114b913ad1 Revert "New: -api column().name() and -api columns().names() methods which can be used to get and set the names of columns (-init columns.name)"
This reverts commit fa158a0030e7310837ada440c5f942406c0b4b8a.
2017-08-31 14:45:21 +01:00
Allan Jardine
df9fdc0d4a Revert "Merge branch 'master' of github.com:DataTables/DataTablesSrc"
This reverts commit d484e85534a1c8eb28542be5169d4c28690cae48, reversing
changes made to e84eb39f630d04259f7d5377084c2e3b1a4abe42.
2017-08-31 14:45:06 +01:00
Allan Jardine
98fe28aeb2 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2017-08-31 14:44:50 +01:00
Allan Jardine
c00abc7cad Fix - examples: Remove parameter that isn't required from the limit() method in the demo server-side processing script
Thanks tangerine
2017-08-31 14:44:34 +01:00
Allan Jardine
1a3db258d4 New: -api column().name() and -api columns().names() methods which can be used to get and set the names of columns (-init columns.name) 2017-08-31 14:44:01 +01:00
Allan Jardine
df61c273c4 Dev: Missed a few uses of jQuery UI specific code 2017-08-31 14:43:45 +01:00
Allan Jardine
0aaba67759 Update: Change -init dom default to lftrip (move the processing element after the table). This is to allow correct layering when scrolling - previously the processing element wouldn't show if scrolling was enabled without a z-index value.
- FB 91
2017-08-31 14:43:29 +01:00
Allan Jardine
e203d67cd8 DataTables 2 development starts 2017-08-31 14:43:13 +01:00
Allan Jardine
e869cc0910 Removed: Built in jQuery UI styling option (jqueryUI) has been removed from DataTables 2. Support for styling via jQuery UI is still available - it is provided via the integration styling files, matching how Bootstrap, Foundation, Semantic UI and all other styling libraries can integrate with DataTables. 2017-08-31 14:42:41 +01:00
Allan Jardine
1d10612859 bootstrap innerfoot scroll fix 2017-08-31 14:42:09 +01:00
Allan Jardine
9f70ba35aa Update jquery.dataTables.scss
Remove old vendor prefix
-webkit-box-sizing
2017-08-31 14:41:37 +01:00
Allan Jardine
31db8f9f8d Update jquery.dataTables.scss
Merge duplicate selectors
2017-08-31 14:41:05 +01:00
Allan Jardine
7494262db1 DataTables 1.10.15 2017-04-18 09:24:18 +01:00
Allan Jardine
c289ebfcc6 Fix: Javascript error when unique() was used with a DataTables API instance.
New: `-api slice()` utility method (required to address the above)

- Fixes DataTables/DataTables #928
2017-04-18 09:15:24 +01:00
Allan Jardine
ea5c1456e6 DataTables 1.10.14 2017-04-17 20:23:57 +01:00
Allan Jardine
8c5c8e7c49 Dev: Update third party libraries 2017-04-17 20:23:25 +01:00
Allan Jardine
9182f8c285 Fix: API performance improvement - sigifnicantly faster API access for large tables. Testing with a table of 50'000 rows rows().count() is now 23mS executation time, while it was 996mS before!
- The `_unique()` function was a killer because it uses nested loops to
  determine if items have been seen before in an array. In the majority
  of cases when accessing the API the items will be unique already, so
  running the nested loops is hugely detremental to performance.
- Rather than attempting to improve the performance of `_unique()`
  itself, we try to avoid running its algorithim at all. An array of the
  items is sorted and tested to see if there are unique items or not. In
  the majority of cases this means a massive performance boost since it
  is a single loop rather than a nested loop.
2017-04-14 21:10:23 +01:00
Allan Jardine
c3cd9e8019 Fix: Make SemanticUI integration stackable
- Fixes DataTables/DataTables #924
2017-04-13 15:53:46 +01:00
Allan Jardine
3b24f99ac4 Fix - examples: Tighten up regex check to protect against LFI vulnerability
Credit to Arnaud Labenne of Dotsafe.fr for finding and reporting this.
2017-04-12 20:00:44 +01:00
Allan Jardine
e9b3c4aff1 Revert: Remove pagination-sm class from DataTables paging container -
94d90ea3fbcb4db3449f351059abd0a087fa8180
2017-04-12 19:59:54 +01:00
Allan Jardine
ce211f2b29 Fix - CSS: Columns which are orderable in a single direction only should show a pointer cursor 2017-04-07 11:04:03 +01:00
Allan Jardine
9ad05004b6 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2017-04-05 15:46:13 +01:00
Allan Jardine
213e2ca9b0 Fix - examples: Use https for web font 2017-04-05 15:45:48 +01:00
Allan Jardine
1bceee9662 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2017-04-05 15:45:21 +01:00
Allan Jardine
03f98a12e7 Dev: Update row grouping example to mention RowGroup 2017-04-05 15:44:31 +01:00
Allan Jardine
50d1abf4ca Merge branch 'master' of github.com:DataTables/DataTablesSrc 2017-04-05 15:43:10 +01:00
Allan Jardine
891f36ce99 Dev: Fix copy / paste error for Oracle SQL comment 2017-04-05 15:42:43 +01:00
Allan Jardine
ce77e9eb23 Dev: Adding RowGroup extension build information 2017-04-05 15:42:16 +01:00
Allan Jardine
99acaf21cb Update dataTables.bootstrap4.js 2017-04-05 15:41:25 +01:00
Allan Jardine
51882ce3fa Update - CSS: Additional Bootstrap 4 integration for alpha 6 changes 2017-04-05 15:40:33 +01:00
Allan Jardine
fffbc5eaae Update - CSS: Additional Bootstrap 4 integration for alpha 6 changes 2017-04-05 15:40:08 +01:00
Allan Jardine
b2c2d51a5a Fix: -init columns.orderData would fail if used with a target index of 0 and it was given as an integer
- Fixes DataTablesSrc #97 and thread 22462
2017-04-05 15:39:43 +01:00
Allan Jardine
95a99bdbeb Restricted CSS rules for .dataTables_scrollXXX
CSS rules for scrollable data-table should not affect nested tables.
2017-04-05 15:37:12 +01:00
Allan Jardine
5ccbb849a7 Wrong variable passed to callbacks 2017-04-05 15:36:18 +01:00
Allan Jardine
3cbfbfe0fc Update - CSS: Bootstrap 4 integration for alpha 6 changes 2017-04-05 15:35:53 +01:00
Allan Jardine
c295b130f2 1.10.13 release! 2016-12-06 15:15:00 +00:00
Allan Jardine
fb9185939b Dev: Update external libraries to latest 2016-12-06 15:14:42 +00:00
Allan Jardine
7208f22f54 Dev: Another daft filtering error 2016-12-06 15:14:08 +00:00
Allan Jardine
d861360bfb Dev: Fix errors in the filtering change found by the unit tests 2016-12-06 15:13:52 +00:00
Allan Jardine
08bd1e160b Fix: When assigning a handler for multiple events, automatically add the dt namespace. It worked before for single events, but not multiple.
- Fixes DataTables/DataTables #836
2016-12-05 13:49:18 +00:00
Allan Jardine
61ad3d7ff5 Fix: Disallow sUrl being undefined, empty string or null.
- Fixes DataTables/DataTables #855
2016-12-05 11:31:37 +00:00
Allan Jardine
d115844483 Fix: Make date detection a lot more strict. Only ISO8601 style strings will be detected as valid dates now. Anything else would require a plug-in.
- This is because Chrome tries _very_ hard to make anything passed into
  `Date.parse()` a valid date, including nonesense such as "a 1".
- Fixes DataTables/DataTables #874.
2016-12-05 11:15:09 +00:00
Allan Jardine
acf8945260 Fix: If the paging active element was index 0, it wouldn't be refocused 2016-12-02 18:00:17 +00:00
Allan Jardine
bb253155e6 Fix: If there is no active element when paging, don't attempt to refocus
Merge pull request #76 from MuellerMatthew/patch-1
2016-12-02 17:59:44 +00:00
Allan Jardine
28aa80521d Fix: Bootstrap 4 flexbox grid
Merge pull request #75 from stroebjo/master
2016-12-02 17:59:28 +00:00
Allan Jardine
be5304d057 Dev: Remove legacy CSS for old versions of Firefox
Update dataTables.semanticui.scss
2016-12-02 17:58:57 +00:00
Allan Jardine
9e73901c7a Fix - Remove outdated CSS for old versions of Firefox
Remove prefixed -moz-box-sizing (not needed since ff 29)
2016-12-02 17:58:42 +00:00
Allan Jardine
79df7b3374 Fix - performance: slice() can be quite slow when modifying arrays for the filtering, so use push() instead.
- Fixes #84
2016-12-02 17:58:26 +00:00
Allan Jardine
bc23e4ccae Fix: When replacing child row information, detach the element rather than removing which would destroy the event handlers. A remove action will still call $().remove() to clean up any event handlers.
- Thread 38093
2016-12-02 17:58:11 +00:00
Allan Jardine
b9536e692d Merge branch 'master' of github.com:DataTables/DataTablesSrc 2016-12-02 17:57:55 +00:00
Allan Jardine
31a7cf3133 Fix - docs: Typo in -init rowCallback's markup
- Fixes DataTables/DataTables #888
2016-12-02 17:57:39 +00:00
Allan Jardine
875b2d028c Update documentation to reflect that there are 6 built in paging options, not 4 2016-12-02 17:57:07 +00:00
Allan Jardine
ad89212439 Add first_last_numbers Pagination Option
Add a pagination option to have just the 'First' and 'Last' buttons,
plus page numbers.
2016-12-02 17:56:21 +00:00
Allan Jardine
1dea1904d5 Dev: Update Bootstrap 4 libraries to alpha 5 2016-12-02 17:55:33 +00:00
Allan Jardine
c5ee273be1 Update - examples: Semantic UI integration for all DataTables extensions is now complete as it will be available in Editor 1.6. This integration is no longer just a tech preview, but rather a core part of DataTables styling options and will be included on the CDN builder soon. 2016-12-02 17:55:17 +00:00