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
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
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
3977c5de72
Sync with latest DataTablesSrc
2015-08-12 19:50:30 +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
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
c6cea56621
New - example: Scrolling example with dynamic height using the vh
CSS unit
2015-07-24 15:39:18 +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
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
09ff48a486
New: Add numbers
paging option for dt-init pagingType
to round off the full set of basic options
...
Thank you `rubenduiveman` for suggesting this enhancement
2015-05-13 13:51:23 +01:00
Allan Jardine
05d796d0a2
Fix - example: Typo in description of dom
example
...
Thanks _repjackson_ for noting the error
2015-05-12 09:52:00 +01:00
Allan Jardine
8236be574d
Update - example: Scrolling example updated to use the nowrap
class to prevent wrapping of content and thus force scrolling
2015-05-06 11:29:51 +01:00
Allan Jardine
3824202e0e
Dev: Update CDN libraries for the examples
2015-02-12 14:11:54 +00:00
Allan Jardine
d6f46dffbb
New: DataTables intialisation options can now be specified using HTML data-*
attributes on the HTML <table> tag and on the cells of the column headers in the table.
...
* A new example of this is included
* Fixes DataTables/DataTablesSrc #9
2015-02-06 16:35:34 +00:00
Allan Jardine
d65dd47fe6
New: where
condition controls for the example PHP server-side processing class (SSP
). This takes the form of a new complex
method (to compliment the exisiting simple
method) which accepts where
parameters that can be used for either user based filtering, or server based filtering.
2015-01-11 16:26:59 +00:00
Allan Jardine
1ac1ea6752
Dev: Support for a "private" examples directory where the examples are
...
compiled but not included in the ToC
Dev: longer line wrapping!
2014-12-11 15:27:11 +00:00
Allan Jardine
24b2d11460
Dev: Show language name in code highlighting
2014-12-04 12:23:12 +00:00
Allan Jardine
a6b871d660
New: Ability to use dt-init columns.data
with a DOM sourced data to read the row information into an object rather than an array (the default)
2014-10-08 14:19:14 +01:00
Allan Jardine
9a49208617
New: dt-api $.fn.dataTable.util.throttle()
static utility method. This provides extension authors with an easy way to throttle function calls
2014-10-08 11:28:33 +01:00
Allan Jardine
4e30d0ccf7
Fix example: Hidden columns description text had inversed logic for the column state
2014-10-07 15:39:22 +01:00
Allan Jardine
32a5bc6aee
Fix docs: Typo in processing event example
2014-08-28 14:23:15 +01:00
Allan Jardine
89c4e24698
Fix examples: Search API examples should use consistent terminology
2014-07-18 12:09:54 +01:00
Allan Jardine
c4cdba49e4
Fix example: Use search
terminology
...
* See thread 22268
2014-07-18 12:09:03 +01:00
Allan Jardine
4706058c95
Dev: CDN option for when building the examples
2014-06-27 15:24:58 +01:00
Allan Jardine
5d4d4f39d7
New: compact
and no-wrap
styling classes for the DataTables stylesheet
...
* `compact` reduces the padding on the cells in the table to increase
the information density.
* `no-wrap` disabled white space text wrapping
2014-06-23 15:34:52 +01:00
Allan Jardine
e8bd8b21bc
Docs: Update description of the data() setters for how they effect the
...
table
2014-06-06 16:30:37 +01:00
Allan Jardine
501ed72cee
Dev: Remove debug from last commit...
2014-05-23 16:31:09 +01:00
Allan Jardine
00a99a0037
Fix: IE8 events error
...
* In IE8 if the DataTables width calculation functions were being
triggered DataTables would clone the table node and then do a jQuery
$().remove() on the cloned node. This was bad in IE8 as it meant that
on the remove the events that were attached tot he original table were
removed as well as the ones on the clone table. IE8 must retain some
kind of link between the original and clone nodes. Using jQuery's
clone() method resolves this.
* See thread 21040 for more information
2014-05-23 16:30:53 +01:00
Allan Jardine
36e1e86297
Fix examples: Typo in complex header example
2014-05-20 08:36:37 +01:00
Allan Jardine
d8860b215e
Fix: Support escaping objects with more than one dot
2014-05-15 15:49:07 +01:00
Allan Jardine
7f7861b2e2
Fix: Scroller needs to know what the container node is during init
2014-05-01 11:43:39 +01:00
Allan Jardine
e82334589d
New: sessionStorage and infinite state save option
...
- The stateDuration option has been updated to provide the ability to
indicate if sessionStorage should be used rather than localStorage
(set value to -1).
- Settings stateDuration to 0 also indicates that the duration is
infinity.
- Parts of the state saving have been optimised for code size, so this
commit actually reduces the min size by 32 bytes despite the new
abilities.
- See thread 19572 for discussion on this
2014-04-29 10:32:55 +01:00
Allan Jardine
eb74bc591a
Dev: Markdown update - add a class to lists and tables so we know when
...
they have been generated by markdown. Must easier for styling
2014-04-25 13:27:28 +01:00
Allan Jardine
1a0551fd2c
Dev: Markdown update for Editor and typo
2014-04-01 11:08:10 +01:00
Allan Jardine
c1841e6eff
Dev: Updates for Editor development
...
Update: Show software tag in the markdown links for the documentation
2014-03-14 12:33:02 +00:00
Allan Jardine
e948a3682a
Update: Improved responsivness for examples CSS
2014-03-14 12:32:46 +00:00
Allan Jardine
c5d86ea157
Dev: Change the viewport meta tag to not fix the width
2014-03-04 08:51:50 +00:00
Allan Jardine
55e965de0a
Update - examples: Better responsive CSS handling
...
- Drop the multi-column layout when using devices with smaller screen
space
2014-03-04 08:51:19 +00:00
Allan Jardine
7c8e10d0dd
Fix - examples: The API row details example wasn't showing the close
...
icon due to an incorrect class name
2014-03-03 10:18:02 +00:00
Allan Jardine
2a83b65a33
New example: Comma decimal place
2014-02-17 10:22:48 +00:00