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

375 Commits

Author SHA1 Message Date
Allan Jardine
83af61dd4b Dev: Updating the styling of the code blocks in the examples 2016-12-02 17:19:48 +00:00
Allan Jardine
61ab42e4b2 Fix - example: Server-side pipelining didn't work when all data is requested
- Although this mitigates any benefits of using server-side processing
  it is something that should be handled.
- Thanks Hormah for pointing this out.
2016-12-02 17:19:00 +00:00
Allan Jardine
9a8636af2a Fix - example: Direct link to dt-init ajax.data from its example 2016-12-02 17:15:49 +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
e05df36acf Fix - example: Typo in row callback example 2016-08-09 17:51:23 +01: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
c256a3d63e Merge branch 'master' of https://github.com/DataTables/DataTablesSrc 2016-08-09 17:45:58 +01:00
Allan Jardine
7d6decd2ce Added news tests 2016-08-09 17:45:42 +01:00
Allan Jardine
e42e6f40b4 Dev: Updating Semantic UI libraries to 2.2.1
- Fixes issue with the "show x entries" input
- Thread 33814
2016-08-09 17:44:18 +01:00
Allan Jardine
be84e18e8b Dev: Update moment and add note about test files 2016-08-09 17:37:25 +01:00
Allan Jardine
55d2473d6f Fix: Remove MySQL specific commands from demo SSP class
- SQL_CALC_FOUND_ROWS was used to try and speed the queries up, and that
  works well for MySQL, but it confuses anyone who tries to modify this
  script for other databases.
- Field escaping should possibly be considered in future as well
2016-05-18 16:34:44 +01:00
Allan Jardine
b66849a676 Update: Update to jQuery 1.12.3 2016-05-02 16:17:43 +01:00
Allan Jardine
8761721627 Dev: Updating the styling of the code blocks in the examples 2016-05-02 16:17:02 +01:00
Allan Jardine
26cbeccba1 Fix - example: Server-side pipelining didn't work when all data is requested
- Although this mitigates any benefits of using server-side processing
  it is something that should be handled.
- Thanks Hormah for pointing this out.
2016-05-02 16:15:12 +01:00
Allan Jardine
c439436bc7 Fix - example: Direct link to dt-init ajax.data from its example 2016-04-18 15:08:25 +01:00
Allan Jardine
5859f96088 Fix - example: Add reference to Editor in form example 2016-02-29 15:51:44 +00:00
Allan Jardine
af353c8940 Fix example: Remove reference to retired TableTools extension 2016-02-29 15:51:10 +00:00
Allan Jardine
0312f72ad5 Dev: Update external library dependencies 2016-02-15 15:14:54 +00:00
Allan Jardine
b69ccaeb6c Adding new integration files from the source repo. These are all currently proof of concept / technical previews and not ready for production use. 2016-02-11 10:28:13 +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
6c7cc348ed Fix: Demo PHP server-side processing script: Ensure that FETCH_BOTH is used for the SSP class, in case it is disabled in the options
- Fixes DataTables/DataTables #677
2016-02-03 12:17:15 +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
fea6c50408 Fix - example: Add a link to feature plug-in documentation for the dom example 2016-02-03 11:39:05 +00:00
Allan Jardine
b7868ad218 Update: Update jQuery to 1.12.0 2016-01-22 11:26:18 +00:00
Allan Jardine
ef7b2e13ec Dev: Disable syntax highlighting for IE8 2016-01-22 11:25:51 +00:00
Allan Jardine
8fbefe961f Dev: Tidy up Bootstrap example description 2016-01-22 11:24:27 +00:00
Allan Jardine
906cfe3b93 Dev: Update example SQL so that the start_date default is null. This
doesn't effect the DataTables demos since the inserts all have values
for this field. It is done for Editor which can use this table for
editing and it simplifies the MySQL aspect.
2016-01-07 15:26:27 +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
56686c8c96 Dev: Add clear to syntax highlighter for site styles 2015-11-17 11:17:38 +00:00
Allan Jardine
1de8c33e25 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2015-11-17 11:16:46 +00:00
Allan Jardine
3b83535986 Fix - example: Column / row hover highlight example had redundant code 2015-11-17 11:15:25 +00:00
Allan Jardine
2ce2276f5c Fix - example: Typo in Ajax with deep objects description
Thread 31330
2015-11-17 11:14:51 +00:00
Allan Jardine
4d25479434 Shorter way to get the column title
I'd be happy for the change to be released under the MIT license ;)
2015-11-17 11:13:58 +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
Allan Jardine
369214c777 Fix - examples: Write the code to be displayed in the server load code tab as text so any HTML entities will be escaped 2015-11-06 10:40:22 +00:00
Allan Jardine
c2e59f43f6 Fix docs: Update dt-init footerCallback example to include a default value 2015-11-02 11:04:01 +00:00
Allan Jardine
08d61efa63 Dev: Naming for AMD and CommonJS loaders set to a unique value that will be useable on bower and npm due to no conflicts.
- Using just `datatables` would be difficult since I and others already
  publish packages with that name. Anyone using those packages already
  would run into real issues if I were to change their meaning and
  contents!
2015-10-13 15:28:14 +01:00
Allan Jardine
954a3b080b Update cell node indexes when removing a row 2015-10-13 15:26:36 +01:00
Allan Jardine
2d0ad42749 Fix - example: Add link to features example for the options reference docs
- Thanks georgemcfly for pointing this out
2015-10-06 12:04:55 +01:00
Allan Jardine
ea9e926b53 Dev: Output a warning if html tidy is not installed
- I just updated my PHP and HTML Tidy was not installed which resulted
  in the examples in the dist repo all being rewritten unfortunately.
  This should stop that happening again.
2015-09-25 10:08:52 +01:00
Allan Jardine
b84cc6063e Fix: The every() method did not have the selector options applied to it - this was particularly noticable with the dt-api columns().every() method
- See DataTables/DataTables #679 and https://jsfiddle.net/7mgny9gb/2/
- Thanks @mpryvkin for noting this bug and the test cases
2015-09-25 09:50:54 +01:00