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
Allan Jardine
50cac9640a
Dev: Nowrap in syntax highlighter
2015-08-19 09:56:33 +01:00
Allan Jardine
3977c5de72
Sync with latest DataTablesSrc
2015-08-12 19:50:30 +01:00
Allan Jardine
13c3a5400e
Dev: Don't just jQuery code if jQuery hasn't been loaded (example index pages)
2015-08-12 19:48:50 +01:00
Allan Jardine
7811a69f30
Update - examples: Improve descriptions of examples and refer to the new extensions where appropriate
2015-08-12 19:48:33 +01:00
Allan Jardine
588e78f92b
Update - example: Use Bootstrap rather than jQuery UI for the scrolling and tabs example.
...
Bootstrap tabs seem to be more popular these days
2015-08-12 19:48:15 +01:00
Allan Jardine
e111fae862
Dev: Update example templates to refer to extensions rather than extras
2015-08-10 14:59:41 +01:00
Allan Jardine
781f7fcaef
Update - examples: All examples now use $().DataTable()
to construct the table.
...
- The API examples already used the new form, but many were still
`$().dataTable()`, which still works, but the new API form method is
prefered.
2015-08-10 14:57:47 +01:00
Allan Jardine
ecf94192ae
Dev: Update Foundation CDN
...
Dev: Built fixes for Editor
2015-08-06 20:42:36 +01:00
Allan Jardine
21705f049a
Dev: Example build update to allow the new components frameworks to build from the CDN
2015-08-06 20:41:26 +01:00
Allan Jardine
065e3d2b1d
Update - examples: Remove jQuery UI themed scrolling example
...
- Bootstrap is proving to be a far more popular theme for DataTables -
this example comes from back in the day when jQuery UI theming was
first added, so it is no longer required.
2015-08-06 20:41:08 +01:00
Allan Jardine
eff925f168
Fix - examples: Pipelining description had a typo
2015-08-06 20:40:12 +01:00
Allan Jardine
a67cb611de
Fix - docs: dt-api columns()
incorrect argument type for column selector
...
Fix - docs: `dt-api column().index()` incorrect return type was documented
2015-08-06 20:39:33 +01:00
Allan Jardine
c6cea56621
New - example: Scrolling example with dynamic height using the vh
CSS unit
2015-07-24 15:39:18 +01:00
Allan Jardine
fa9fa2e296
Dev: Syntax highlighter - link urls with a comma in them
...
Dev: Syntax highlighter - show the type label above the code so it doesn't over lap the code
Dev: Syntax highlighter - don't show the `:after` option in highlighted code
2015-07-24 11:45:26 +01:00
Allan Jardine
7b57d5f10b
Fix - docs: Add examples for dt-init columns.defaultContent
showing how it can be used with null or undefined content
...
Thanks to `jonahjonah` for pointing this out
2015-07-24 11:41:02 +01:00
Allan Jardine
8ed28b6f00
Dev: Remove SQL error message on error
...
This fixes DataTables/DataTables #604
2015-07-15 17:29:13 +01:00
Allan Jardine
3d3f72aec6
Fix - PHP: Validate the JSONP callback as a valid Javascript function
2015-07-15 17:11:15 +01:00
Allan Jardine
994121d024
Dev: Updating Markdown extension for linking to documentation and also the styles to make more visible
...
- Have used :after for the information about what type of link it is -
this stops it from being included in a copy / paste which was annoying
- The postfix is a bit more informative than a letter about what
software it relates to
- With the move to the 1.10 API for all of the extensions, showing the
extension letter was redundent anyway
- Adding -button link type
- Improved the colours
2015-07-15 17:10:59 +01:00
Allan Jardine
4b378ff787
Dev: Updating the XML for the external styling examples to use the new example build framework
2015-07-15 17:10:24 +01:00
Allan Jardine
5ab2e30e66
Dev: Latest extension built commands. This is not yet complete!
2015-07-06 21:04:51 +01:00
Allan Jardine
ca703a9d6b
Dev: Update Bootstrap example to use the styling framework build code
2015-07-06 21:04:14 +01:00
Allan Jardine
1379e9725b
Fix - example: Comment about dt-init columns.orderData
incorrectly stated that the sort direction could be specified.
2015-07-06 21:02:06 +01:00
Allan Jardine
1effb64cfa
Fixed event handlers in table headers in IE8
...
On line 605, column.sTitle is set to the TH's innerHTML.
On line 1816, column.sTitle is compared with cell.html().
If you have child elements with event handlers on them inside the TH, these are not the same in IE8 (see https://gist.github.com/simonbrent/933e552739477f4be3ab#file-test-html )
As a result, the check on 1816 fails, the contents of the cell is replaced, and the event handlers are removed.
Comparing instead with cell[0].innerHTML fixes this issue.
2015-06-10 09:45:55 +01:00