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