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

106 Commits

Author SHA1 Message Date
Allan Jardine
5262818302 Dev: Tweaks to renderers example 2020-05-21 10:02:16 +00:00
Allan Jardine
8059fde34c DEV created new example that shows progress bars and country flags 2020-05-21 10:01:00 +00:00
Allan Jardine
998efc44b1 Dev: Update to jQuery 3.5.1 2020-05-21 09:59:45 +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
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
04fea4e9fa DEV more unit tests, day after day, like trudging uphill through mud during a landslide, will it ever end? 2019-10-01 12:26:26 +00:00
Allan Jardine
452ff3d118 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2018-06-22 16:31:12 +01:00
Allan Jardine
cf2715ec1d DEV more unit tests - finished all the fun stuff, back to this - I can retire in a few years... 2018-06-22 16:30:56 +01:00
Allan Jardine
f663114dc4 Dev: Remove cellspacing attribute (deprecated in HTML) and move the tfoot in structure 2018-06-14 11:46:31 +01:00
Allan Jardine
387ee39f94 Dev - fix: position:absolute doesn't work on Android if you don't include user-scaleable:no, so FixedHeader wouldn't work at all.
- M388
2018-06-14 11:43:22 +01:00
Allan Jardine
66ea7ec52d Dev: Correct name for parameter in rowCallback docs 2018-06-14 11:33:25 +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
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
713b7498df Fix: Correct comment for Bootstrap 4 integration (stated that it was Bootstrap 3) 2018-06-14 11:03:39 +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
3cbfbfe0fc Update - CSS: Bootstrap 4 integration for alpha 6 changes 2017-04-05 15:35:53 +01:00
Allan Jardine
fb9185939b Dev: Update external libraries to latest 2016-12-06 15:14:42 +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
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
Allan Jardine
9676200fa9 Update: Upload examples to latest jQuery 1.x release 2016-12-02 17:35:43 +00:00
Allan Jardine
ac15162e3c Fix - docs: Typo in description of -init columns.orderable
- Thanks _wongjas_
2016-12-02 17:35:27 +00:00
Allan Jardine
9bc6d5df8a Added new callback tests-
*drawCallback
	*footerCallback
	*headerCallback
	*infoCallback
	*createdRow (incomplete)
	*drawCallback (incomplete)
2016-12-02 17:35:11 +00:00
Allan Jardine
348c44230c Dev: Updating jQuery used in examples to 1.12.4 2016-12-02 17:34:40 +00:00
Allan Jardine
9005dadaef Dev: Update moment and add note about test files 2016-12-02 17:23:26 +00:00
Allan Jardine
275d326cc8 Update: Update to jQuery 1.12.3 2016-12-02 17:20:03 +00:00
Allan Jardine
aa14a9e50d Dev: Update markdown to allow a line break with a single line.
- This is primarily for the forum
- This is quite common in markdown extensions now and has plenty of
  backup from Stackoverflow etc to suggest it is a good idea. About time
  I did it as well!
2016-12-02 17:12:34 +00:00
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
58b09f70cb Update: Upload examples to latest jQuery 1.x release 2016-08-09 17:50:18 +01:00
Allan Jardine
6b706f1b47 Fix - docs: Typo in description of -init columns.orderable
- Thanks _wongjas_
2016-08-09 17:50:01 +01:00
Allan Jardine
5dd079e5f0 Added new callback tests-
*drawCallback
	*footerCallback
	*headerCallback
	*infoCallback
	*createdRow (incomplete)
	*drawCallback (incomplete)
2016-08-09 17:49:45 +01:00
Allan Jardine
9afea0b6d0 Dev: Updating jQuery used in examples to 1.12.4 2016-08-09 17:49:13 +01:00
Allan Jardine
be84e18e8b Dev: Update moment and add note about test files 2016-08-09 17:37:25 +01:00
Allan Jardine
b66849a676 Update: Update to jQuery 1.12.3 2016-05-02 16:17:43 +01:00
Allan Jardine
5859f96088 Fix - example: Add reference to Editor in form example 2016-02-29 15:51:44 +00:00
Allan Jardine
357ccbce7d New: UIKit integration tech preview for DataTables
- Many thanks to jthsiao at Google for the initial integration work
- Example added
- CSS decompiled to SCSS as it has a bit more structure
- Removed the TableTools integration since TableTools is now retired
- Reduce the gap between the table grid components
- Use single arrow for previous / next paging

Weirdly the UIKit documentation examples don't appear to match up with
what you get if you actually use the UIkit distribution code - see
https://github.com/uikit/uikit/issues/1739 . As such the UIKit /
DataTables example doesn't look as nice as might be expected.
2016-02-05 12:17:43 +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
4367cfb6bf Dev: Marking Semantic UI, Bootstrap 4 and Material Design integrations as tech previews 2016-02-03 11:43:17 +00:00
Allan Jardine
bda57baa83 New: Google Material Design implementation tech preview
- Trying to gauge the level of interest
2016-02-03 11:42:46 +00:00
Allan Jardine
f963bba252 New - dev: Semantic UI integration with DataTables
- Still lots to do such as the sorting icons and extensions
2016-02-03 11:40:54 +00:00
Allan Jardine
60745afb14 New: Bootstrap 4 integration with DataTables
- Bootstrap 4 is currently in beta so things can, and probably will
  still change. Bootstrap 4 packages for DataTables won't be made
  available until at least a beta release of Bootstrap 4.
- A few things have changed in Bootstrap 4 and rather than trying to
  make the exisiting Bootstrap files work for both BS3 and BS4 it makes
  sense to offer both. We'd need to detect which version of BS is loaded
  and that can be quite unreliable (and delayed since the body would
  need to be available).
- Pagingation requires a couple of classes, but no change in structure
- BS4 don't include icons any more, so need to use UTF8 arrows to show
  sorting (don't particularly want other dependencies, although it is
  easy to add with CSS if you want more icon control)
- Outstanding issue: The select element for paging control is not of a
  consistent height with the search input. This appears to be a
  Bootstrap issue: https://github.com/twbs/bootstrap/issues/17194
2016-02-03 11:40:26 +00:00
Allan Jardine
b7868ad218 Update: Update jQuery to 1.12.0 2016-01-22 11:26:18 +00:00
Allan Jardine
b7c671444d Fix: The number rendering helper will now automatically escape HTML entities to help prevent possible XSS attacks if using a number renderer.
Rational for this is that the number renderer expects a number
input, not HTML, but if non-numeric input is given the value is just
returned (now escaped) - for example an empty string.
2016-01-07 15:24:53 +00:00
Allan Jardine
fdaa840642 Dev: Ordering of example sections for Editor and Buttons
- This really needs to be pulled out into the XML
2015-11-06 14:38:34 +00:00