1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-11-29 11:24:10 +01:00
Commit Graph

1707 Commits

Author SHA1 Message Date
Allan Jardine
0a3da850cb Merge pull request #73 from markvantilburg/patch-2
Fix: Remove obsolete CSS option for Firefox
2016-04-18 15:05:59 +01:00
Allan Jardine
2f7feab531 Update jquery.dataTables.scss 2016-04-18 15:05:21 +01:00
Allan Jardine
6a81c5e55a Update dataTables.uikit.scss 2016-04-18 15:04:45 +01:00
Allan Jardine
6422ea4a9c Update dataTables.foundation.scss 2016-04-18 15:04:06 +01:00
Allan Jardine
7acd79f7ea Update dataTables.bootstrap4.scss 2016-04-18 15:03:19 +01:00
Allan Jardine
c6e574314b Fix - docs: Add dt-init lengthChange to dt-init dom related 2016-04-18 15:00:55 +01:00
Allan Jardine
2606595604 Add issue template 2016-03-14 11:44:59 +00: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
e350e155d2 Fix: Column visiblity count was only correct if the table was actually visble itself. We want to be able to count columns even when the table is not visible.
- Thread 33203
2016-02-15 15:14:16 +00:00
Allan Jardine
45ed4f3973 Dev: Version bump 2016-02-15 15:13:38 +00:00
Allan Jardine
d0163e24a0 DataTables 1.10.11 release 2016-02-11 14:30:12 +00:00
Allan Jardine
fa5dc0f900 Dev: Update to include the latest jQuery in the repo 2016-02-11 14:29:35 +00:00
Allan Jardine
f2f35d31f7 Dev: Remove the version attr from bower.json - bower doesn't use it any more 2016-02-11 14:29:00 +00:00
Allan Jardine
9d8ed0d942 New - docs: Documentation for dt-init $.fn.dataTable.ext.errMode 2016-02-11 14:27:38 +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
62f92f16f7 Dev: Update readme to refer to the NPM and bower packages for DataTables 2016-02-11 10:27:45 +00:00
Allan Jardine
cf37b3bcfc Fix: Visible column count should take account of display:none columns as well as those removed from the DOM by DataTables core. This improves compatiblity with Responsive 2. 2016-02-10 15:05:41 +00:00
Allan Jardine
4ce6614977 Fix: Clear the cached data setter for DOM sourced tables when setting column options. This fixes issues with ColReorder and DOM sourced tables
- Fixes DataTables/ColReorder #50.
2016-02-09 15:29:26 +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
c0f3242d0d Dev: Remove trailing comma 2016-02-04 15:46:23 +00:00
Allan Jardine
e253006207 New: Greatly improve the utility of the row, column and cell selectors:
* `dt-api rows()` and `dt-api row()` can now be used with a cell from
    the table body (not limited to only the `tr` elements
  * `dt-api columns()` and `dt-api column()` can now be used with a cell
    from the table body (not just the column headers as before)
  * All three selector types can use an element with the `data-dt-row`
    and / or `data-dt-column` (as approrirate) attributes on them or a
    parent. This is useful for API integration with FixedColumns and
    Responsive. For example you can now pass a cell in a fixed column
    into the `dt-api cell()` method to select the original cell.
2016-02-04 14:44:38 +00:00
Allan Jardine
61fdeb0b9b Fix: When using data-* attributes for orthogonal data with a DOM sourced table, don't write to the DOM if the data hasn't changed.
- Fixes DataTables/DataTables #684
2016-02-03 15:40:44 +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
ff3bccad58 Fix: Checked radio boxes could be incorrectly unchecked if autowidth was enabled (which it is by default)
- Fix is to remove the name attribute. This would have no effect on the
  column width and means the radio element isn't in a group.
- See thread 32931
- Fixes DataTables/DataTables #569
2016-02-03 11:44:24 +00:00
Allan Jardine
c4986625c8 Fix: Improved DOM ordering for scrolling tables - colgroup, thead, tfoot
- Fixes DataTables/FixedColumns #8
2016-02-03 11:43:48 +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
386150893a Fix: Javascript error would occur if trying to use dt-api cells().nodes() on a cell that doesn't exisit in the DataTable
- Fixes DataTables/KeyTable #23.
2016-02-03 11:41:22 +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
f8e2c9928d Fix: Remove legacy TableTools integration from Bootstrap file 2016-02-03 11:39:57 +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
aec81fd557 Fix - styling: Integration with Foundation 6
- F6 changes the paging control (for the better) to require that there
  be no `a` tag for the elements which can't be clicked on in the pager.
  Unforuntately F5 requires them, so we need to detect which one is to
  be used. This is done using a meta tag based on this discussion:
    - http://foundation.zurb.com/forum/posts/36681

- F5 remains the main version for the moment, but will be bumped to F6
  when the next version of DataTables is released
2016-01-22 11:24:53 +00:00
Allan Jardine
8fbefe961f Dev: Tidy up Bootstrap example description 2016-01-22 11:24:27 +00:00
Allan Jardine
af95119318 Dev: Version bump to dev 2016-01-07 15:33:02 +00:00
Allan Jardine
9563278a4a Fix: Potential column misalignment when scrolling with footer content that defines the width
- The scrolling body used to have the header content retained but
  hidden, while the footer was just emptied. But if the footer content
  is long enough to define the width of the column this results in
  column misalignment.
- Fix is to treat the footer in the same way as the header is.
2016-01-07 15:32:39 +00:00
Allan Jardine
f3fc3cd64e Fix: Remove redundant code in column visibility. Could cause slower performance
- Thanks sameeralikhan - thread 32212
2016-01-07 15:28:39 +00:00
Allan Jardine
344565a03d Fix: Column widths are not only applied to the DataTables detected headers when scrolling is activated. This will have no change on most tables, but for those with complex headers it prevents potentially contradictory sizes being applied which can result in column misalignment. 2016-01-07 15:28:13 +00:00
Allan Jardine
6c9c5433eb Fix: dt-api cell().data() would not return null values for cells if defaultContent was set. It should return the original data point for that cell, even if it is null. This also effects dt-api column().data() and their plural counterparts. 2016-01-07 15:26:52 +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