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
Allan Jardine
801e4bedf1
New: dt-init rowId
option to specify what property should be used from the row's data source object to read the row's id and then set it as the DOM id (previously this was static as the DT_RowId
option)
...
New: `dt-api row().id()` and `dt-api rows().ids()` to get the id from one or multiple rows, based on the new `dt-init rowId` option
2015-06-04 15:26:45 +01:00
Allan Jardine
63c215b044
Merge pull request #43 from cdaringe/bugfix/jq-2.1.4-sppt
...
Fix: Compatibility with jQuery 2.1.4 when using `$.map` and passing in only arrays
2015-05-30 14:09:37 +01:00
Allan Jardine
feccbc5968
jq 2.1.4 sppt
2015-05-30 14:09:19 +01:00
Allan Jardine
59457b63e6
Fix example: Server-side processing data source example column titles were incorrect
2015-05-30 14:09:03 +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
be7a63761b
Dev: Updating Editor build for new framework structure
2015-05-12 09:52:16 +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
9a7cf935ea
Fix examples: Example pages styling updated to work better when operating with Bootstrap and Foundation styled table examples
2015-05-06 11:28:52 +01:00
Allan Jardine
bf0b4d0a42
Dev: Don't syntax highlight in IE6/7 as it slows them down hugely
2015-04-30 14:01:36 +01:00
Allan Jardine
8423b06fae
Dev: On Bootstrap CSS demo pages don't change the Bootstrap default font
2015-04-29 17:10:34 +01:00
Allan Jardine
07bed19ed7
Fix examples: Demo script needs to check for the dt
namespace on events triggered by DataTables
2015-04-03 12:22:10 +01:00
Allan Jardine
5c919423c1
Fix - docs: dt-api row().child()
notes that className
is not added to pre-existing node
2015-04-03 12:21:27 +01:00
Allan Jardine
e7760542e0
Fix - example: Server-side processing child rows example would throw a JS error if you click on the child row
2015-04-03 10:52:24 +01:00
Allan Jardine
294a32f8d0
Fix docs: Add reference to dt-init columns.orderSequence
from dt-init order
2015-04-03 09:50:06 +01:00
Allan Jardine
825877f157
New: dt-api rows().every()
, dt-api columns().every()
and dt-api cells().every()
iterator methods to make it easier to perform operations on the table elements. This is done by setting the context of the callback provided to be the singular expression for the table elemtn in question. This basically means you can access the singular methods from this
- e.g. this.data()
will get the data for the element, this.node()
will get the cell when using dt-api cells().every()
etc. The exisiting interator methods of dt-api each()
and dt-api iterator()
remain, and each has its own place for optimial usage of the API, but it is likely that the majority of use will switch to focus on these new methods. The examples in the rest of hte documentation has been updated to reflect this fact.
2015-03-03 15:42:36 +00:00
Allan Jardine
6217b1aaae
Merge branch 'master' of github.com:DataTables/DataTablesSrc
2015-02-16 16:00:55 +00:00
Allan Jardine
455121839a
Fix docs: dt-init stateSaveCallback
syntax error
2015-02-16 16:00:20 +00:00
Allan Jardine
a9b35a4927
Dev: Add ability to set a body class for an example for extra styling information. This will help to combat conflicts with the datatables.net site css when deployed on the site.
2015-02-16 12:01:07 +00:00
Allan Jardine
3824202e0e
Dev: Update CDN libraries for the examples
2015-02-12 14:11:54 +00:00
Allan Jardine
a5d77d99bc
Sync repos: Add html data options example
2015-02-10 14:27:53 +00:00
Allan Jardine
c98854def4
Fix - example: Dro the http
protocol from the i18n CDN file loder example so it works over https
2015-02-10 14:25:16 +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
71535def21
Fix examples: Server-side processing examples didn't correctly show the Ajax data after the first draw
2015-02-06 16:35:12 +00:00
Allan Jardine
71863bc49f
Site: Syntax highlight could line break incorrectly
2015-01-22 10:22:28 +00:00
Allan Jardine
f4f8ca5632
Fix example: Index column API example had a typo
...
* This fixes DataTables/DataTables #482
2015-01-22 10:22:13 +00:00
Allan Jardine
d1ea76a958
Fix example: dt-init rowCallback
example was highlighting all rows, rather than just a select few due to the logic condition being a bit loose!
2015-01-11 16:27:29 +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