1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-08 06:54:15 +01:00

71 Commits

Author SHA1 Message Date
Allan Jardine
cedb9e2ada Added code to deal with empty db and dt column
Modified pluck method to skip column with empty db and map correct array for filter to be effective
Modified data_output for better process of column with empty db
Modified filter to skip empty db column
2020-05-21 09:40:25 +00:00
Allan Jardine
7779ad6488 Dev: Overflow-x only for syntax highlighter - IE11 2020-05-21 09:25:40 +00:00
Allan Jardine
6e51a62684 Avoid applying padding to non sortable items on small tables
I don't know if there are more to this or if it would break some other rules but as of my testing it should be fine to remove this rule for headers that have no sorting applied to them.

This is the case already for "normal sized" tables as the padding-right rule is only applied if there is a sorting class to the element. But it has been forgotten for the table-sm variant. So there are two options that I can see.

Specify this rule does not apply if there is a sorting_disabled class
Do the same as what was done for the normal sized table in the following commit: 4e611f31ff84deae5ae4666c7ba60ad8cb1012c3
2020-05-21 09:24:54 +00:00
Allan Jardine
90a43ab2ff Update copyright date 2020-03-13 09:25:59 +00:00
Allan Jardine
99773f6d23 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2019-11-20 10:25:09 +00:00
Allan Jardine
37099cbf55 Dev: Syntax highlighter was overflowing in Firefox
- DD-1251
2019-11-20 10:24:35 +00:00
Allan Jardine
e42575bd39 DEV fixed the spelling mistake "Sidney" in the test data! 2019-11-20 10:21:49 +00:00
Allan Jardine
6ff3e3704f Merge branch 'master' of github.com:DataTables/DataTablesSrc 2019-11-20 10:18:32 +00:00
Allan Jardine
ecd2c966b9 Fix: JS error when setting data for an unrendered row
- DD-1209
2019-11-20 10:17:56 +00:00
Allan Jardine
bbbb276569 Added Comment
changed the comment for removing pdo.php in local  or production environment
2019-11-20 10:16:13 +00:00
Allan Jardine
cafe73625c DEV oracle stuff for Node 2019-10-01 12:58:40 +00:00
Allan Jardine
d3d68f7e85 DEV updated oracle stuff so create valid syntax for 12.2.0.1 2019-10-01 12:57:41 +00:00
Allan Jardine
8e6d438bf0 Fix - examples: SQL Server example SQL could throw an error for servers configured with a French timezone - was read as ydm! 2019-10-01 12:56:27 +00:00
Allan Jardine
bda9b88ada Dev: Fix SQLite syntax - timestamp without timezone doesn't actually do anything other than timestamp in SQLite 2019-10-01 12:44:09 +00:00
Allan Jardine
8200205ddb Fix - examples: Demo SQL syntax for Sqlite dates was wrong 2019-10-01 12:42:12 +00:00
Allan Jardine
457244d749 DEV minor spelling mistook 2019-10-01 12:41:05 +00:00
Allan Jardine
ed848d4e9d Sync - latest files 2018-06-14 11:51:12 +01:00
Allan Jardine
f0f1068070 Fix - examples: Oracle demo SQL used nvarchar, which has been dropped in the db. Now uses nvarchar2. 2018-06-14 11:37:22 +01:00
Allan Jardine
97e465613b Dev: use nvarchar for SQL Server demos rather than varchar 2018-06-14 11:06:03 +01:00
Allan Jardine
81218f4fa3 Fix - examples: PHP demo script could use invalid SQL if an orderable:false column was ordered upon
- Thread 45150
2018-06-14 11:03:55 +01:00
Allan Jardine
2f2629433d Dev: Changing name of dev include file for consistency with Editor 2017-08-31 14:49:55 +01:00
Allan Jardine
57fd628cb7 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2017-08-31 14:46:43 +01:00
Allan Jardine
8cdb720a42 Fix - docs: 404 link error in -init columns.orderData documentation
Thanks ianchanning!
2017-08-31 14:46:26 +01:00
Allan Jardine
df9fdc0d4a Revert "Merge branch 'master' of github.com:DataTables/DataTablesSrc"
This reverts commit d484e85534a1c8eb28542be5169d4c28690cae48, reversing
changes made to e84eb39f630d04259f7d5377084c2e3b1a4abe42.
2017-08-31 14:45:06 +01:00
Allan Jardine
c00abc7cad Fix - examples: Remove parameter that isn't required from the limit() method in the demo server-side processing script
Thanks tangerine
2017-08-31 14:44:34 +01:00
Allan Jardine
1bceee9662 Merge branch 'master' of github.com:DataTables/DataTablesSrc 2017-04-05 15:45:21 +01:00
Allan Jardine
03f98a12e7 Dev: Update row grouping example to mention RowGroup 2017-04-05 15:44:31 +01:00
Allan Jardine
891f36ce99 Dev: Fix copy / paste error for Oracle SQL comment 2017-04-05 15:42:43 +01:00
Allan Jardine
403128c42f Adding Oracle demo SQL file 2016-12-06 19:40:44 +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
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
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
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
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
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
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
3d3f72aec6 Fix - PHP: Validate the JSONP callback as a valid Javascript function 2015-07-15 17:11:15 +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
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
e0a08d511b Fix examples: SQLServer demo SQL gave a warning about inserting ids on an identify column 2014-09-22 10:50:24 +01:00
Allan Jardine
cda203dbdc Fix: Example SQL database had extension field as an integer. However, that meant that numbers such as 0001 were not correctly saved 2014-09-08 15:14:33 +01:00
Allan Jardine
f8a66288db Fix: Postgres generated SQL wouldn't allow a row to be inserted by Editor due to an incorrect sequence count 2014-08-06 11:18:44 +01:00
Allan Jardine
eaef26a11f Fix: Use self:: for static method references in SSP class
* This fixes DataTables/DataTables #359
2014-06-23 15:35:54 +01:00
Allan Jardine
9669c962cc Fix: Error in the built SQL 2014-04-30 17:15:24 +01:00
Allan Jardine
f5af4e28e0 Update: SQL exported compatible for MySQL, Postgres, SQLite and
SQLServer
2014-04-25 16:47:55 +01:00
Allan Jardine
311cc96572 Dev: Renaming demo database table for naming consistency 2014-04-16 16:27:38 +01:00
Allan Jardine
f6a05f5a46 Updated: SQL exported compatible for MySQL, Postgres, SQLite and
SQLServer
2014-04-16 16:27:22 +01:00