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

1040 Commits

Author SHA1 Message Date
Allan Jardine
c9759a828a Update - example: Make it easier to change the grouping column in the grouping example (although, RowGroup is really the way forward here) 2018-06-14 11:29:43 +01:00
Allan Jardine
35d84a8785 DEV more tweaking and twirling 2018-06-14 11:29:12 +01:00
Allan Jardine
ed07c7f945 Fix: [Semantic UI] reduce label and serach input to a single line and restore space between label and input
Merge pull request #122 from kickofitall/master
2018-06-14 11:28:56 +01:00
Allan Jardine
f9b0b86357 Fix - styling: Remove container-fluid class from DataTable wrapper element from Bootstrap 4 integration
Fixes #121
2018-06-14 11:28:09 +01:00
Allan Jardine
eed346db11 restored space between label and input 2018-06-14 11:27:54 +01:00
Allan Jardine
0bc4349da6 reduce label and serach input to a single line
With the ui form wrapper the label and input requiere two lines. After the initialization is finished, the view changes to one line. This repositions the table and bounces the page.
2018-06-14 11:27:38 +01:00
Allan Jardine
2b644e3c67 Fix: Language options - specifying a decimal separator in the default settings rather than the init object would cause correct numeric sorting to fail
- M475
- Forum 48223
2018-06-14 11:26:48 +01:00
Allan Jardine
04b4e4a221 Fix: Column visibility changes did not update the colspan for the "No records" display when the table was either empty or filtered to be empty. 2018-06-14 11:25:28 +01:00
Allan Jardine
3d983d3e00 Fix: Updating an array sourced table that had id attributes on the original HTML table rows, would result in the id effectively being lost
- Fixes DataTables/DataTables 1023
2018-06-14 11:24:55 +01:00
Allan Jardine
2dcfd038e6 Fix - styling: Itegration with Semantic UI 2.3 - search input was not correctly styled
- Fixes DataTables/DataTables #1024
2018-06-14 11:24:23 +01:00
Allan Jardine
c5f9168fb3 Dev: Correct big O notation 2018-06-14 11:23:19 +01:00
Allan Jardine
83199449f4 Dev: Fix Allan's muppet change 2018-06-14 11:23:02 +01:00
Allan Jardine
d73571017a Dev: Code style updates for consistency 2018-06-14 11:22:46 +01:00
Allan Jardine
5f5525b10d Update: {search: 'removed'} selector options optimisation
Merge pull request #119 from dagadbm/master
2018-06-14 11:22:30 +01:00
Allan Jardine
5cc3676e27 remove extra white space 2018-06-14 11:22:14 +01:00
Allan Jardine
db1f2383ff Refactor removed search 2018-06-14 11:21:58 +01:00
Allan Jardine
05dcf4d988 Fix - styling: Comptability with Foundation 6.4's grid-xy system 2018-06-14 11:21:26 +01:00
Allan Jardine
387e55a469 DEV: minor tweaks to the styling examples 2018-06-14 11:18:59 +01:00
Allan Jardine
ec585db978 DEV more unit tests and more examples read 2018-06-14 11:18:43 +01:00
Allan Jardine
c1ae2747f2 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2018-06-14 11:17:21 +01:00
Allan Jardine
64661b706c DEV more fiddling - examples and unit tests 2018-06-14 11:17:05 +01:00
Allan Jardine
ce5e859cbd Merge branch 'master' of github.com:DataTables/DataTablesSrc 2018-06-14 11:16:48 +01:00
Allan Jardine
c64a7a03cb Fix - CSS: Bootstrap 4 integration with scrolling - asc icons could show up in the body table
- DataTables/FixedColumns/issues/37
2018-06-14 11:16:33 +01:00
Allan Jardine
02cb21017b DEV updates to the example docs 2018-06-14 11:16:02 +01:00
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