Allan Jardine
97e465613b
Dev: use nvarchar for SQL Server demos rather than varchar
2018-06-14 11:06:03 +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
421a5e17ac
Dev: Updating third party libraries to latest versions
2017-08-31 14:52:02 +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
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
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
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
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
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
891f36ce99
Dev: Fix copy / paste error for Oracle SQL comment
2017-04-05 15:42:43 +01:00
Allan Jardine
3cbfbfe0fc
Update - CSS: Bootstrap 4 integration for alpha 6 changes
2017-04-05 15:35:53 +01:00
Allan Jardine
403128c42f
Adding Oracle demo SQL file
2016-12-06 19:40:44 +00: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
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
Allan Jardine
b41687e3bc
Fix - example: Typo in row callback example
2016-12-02 17:36:46 +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
1c3dacae1d
Merge branch 'master' of https://github.com/DataTables/DataTablesSrc
2016-12-02 17:31:30 +00:00
Allan Jardine
a1966cca5d
Added news tests
2016-12-02 17:31:14 +00:00
Allan Jardine
a934d74d1d
Dev: Updating Semantic UI libraries to 2.2.1
...
- Fixes issue with the "show x entries" input
- Thread 33814
2016-12-02 17:29:55 +00:00
Allan Jardine
9005dadaef
Dev: Update moment and add note about test files
2016-12-02 17:23:26 +00:00
Allan Jardine
627ca5aef6
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-12-02 17:21:21 +00:00
Allan Jardine
275d326cc8
Update: Update to jQuery 1.12.3
2016-12-02 17:20:03 +00:00
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
Allan Jardine
50d51a90e7
Dev: Stop possible error condition in Syntax highlighter
2015-09-18 15:32:30 +01:00
Allan Jardine
1d401e4b15
Fix - example: Defensive programming in the SSP class
...
- Check for parameters before using them
2015-09-14 14:18:59 +01:00
Allan Jardine
5e97621d74
Fix - example: Description for row id example contained the wrong link to dt-init rowId
2015-09-10 10:00:25 +01:00
Allan Jardine
c42dc04838
Fix - example: Add row API example was always redrawing to the first page
2015-09-09 14:02:51 +01:00
Allan Jardine
6352732eac
Fix - example: Column filtering would reset the paging on change event, which could give the impression that pading didn't happen since it is immediately over written.
...
Thread 29670
2015-08-25 14:17:32 +01:00
Allan Jardine
e7e439dd0a
Fix: Cell invalidation would fail due to incorrect logic
...
- If d or objectRead were truthful then the row's data object would be
replaced with an empty object. This was one shortcut in code too many!
- Relates to thread 29530 with thanks to idleog.
2015-08-19 14:40:22 +01:00
Allan Jardine
a7a9ac1910
Dev: Fix case issue with file names for the example builder
...
- This is the problem with developing on a case insensitive file system
which the Mac default is!
2015-08-19 12:24:58 +01:00