Allan Jardine
00c69698e3
Fix: Javascript error when using smart filtering with quotes for exact matching
2014-10-08 14:19:29 +01: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
4f189464e4
New: dt-init searchDelay
parameter that controls the throttle frequency for search requests using the global input text box
2014-10-08 11:28:51 +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
5c8b72b8e8
Fix: Native Date
instances weren't being detected as a date type
...
* This fixes DataTables/DataTables #385
2014-10-07 16:47:20 +01:00
Allan Jardine
997f3fa87c
Update: bower.json updated with ignore, keywords and license
2014-10-07 16:08:19 +01:00
Allan Jardine
0e94078ad9
New: dt-api column().dataSrc()
and dt-api columns().dataSrc()
methods which provide the ability to obtain the data source parameter for one or more columns
2014-10-07 15:39:51 +01:00
Allan Jardine
6adf853864
Fix: jQuery UI integration when used with ColReorder could cause the wrong header to be shown as sorting
...
* This fixes DataTables/ColReorder #22
2014-10-07 15:39:36 +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
27901e11a4
Fix: If dt-init language.decimal
was given as a decimal point, rather than the default decimal sort being performed, decimals were just being stripped
2014-10-07 15:39:06 +01:00
Allan Jardine
6f2092783b
Dev: npm now requires the repository
parameter
...
* This fixes DataTables/DataTables #427
2014-10-07 15:38:36 +01:00
Allan Jardine
c46168a91d
Fix docs: Reference to dt-init paging
was wrong
2014-10-07 15:36:30 +01:00
Allan Jardine
2b5fd456c3
Merge pull request #427 from mdmalinowski/patch-2
...
Add repository to package.json to stop npm error
2014-10-02 15:32:44 +01:00
Matthew Malinowski
d74849248c
Add repository to package.json to stop npm error
...
Hi!
When installing DataTables from the repo with npm >v1.2.20, it'll WARN "No repository field." This small patch resolves that. (See https://www.npmjs.org/doc/files/package.json.html#repository or https://stackoverflow.com/questions/16827858/npm-warn-package-json-no-repository-field .)
I hope it's ok to propose this change against DataTables/DataTables -- I couldn't find a `package.json` in DataTablesSrc.
Thank you for your work!!
M
2014-10-02 10:10:42 -04:00
Allan Jardine
bc06f16e43
Update: dt-api iterator()
updated to execute the callback in the scope of an API instance refering to the table in question
2014-09-22 16:41:41 +01:00
Allan Jardine
e0f02604cf
Fix: dt-api destroy()
when a child row was shown resulted in a JS error
...
See thread 23516 for more information
2014-09-22 10:50:40 +01: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
a8ce572cb3
Fix examples: Deferred rendering SSP example's initial HTML was out of date
2014-09-22 10:50:08 +01:00
Allan Jardine
491945bace
Fix - examples: Incorrect column title for some server-side processing examples
2014-09-22 10:49:52 +01:00
Allan Jardine
3f219a38e2
Fix: Numeric sorting for 0
was incorrect
...
* This fixes DataTables/DataTables #414
2014-09-08 15:14:49 +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
b1f1b2d961
Dev: Update bootstrap libraries to 3.2
2014-09-08 15:14:16 +01:00
Allan Jardine
4453229416
Fix exampple: Remove rowIndex
from select_rows
example - not used
...
Dev: Add comment to rowCallback trigger about undocumented parameters
2014-09-08 15:13:59 +01:00
Allan Jardine
14f5f630c9
Fix: Could not remove a multi-column sort using shift click like you could in 1.9-
...
This fixes DataTables/DataTables #391
2014-08-28 14:24:16 +01:00
Allan Jardine
3019ab9ec7
Fix: ARIA label for the sorting that will occur next wasn't working correctly
2014-08-28 14:23:59 +01:00
Allan Jardine
32a5bc6aee
Fix docs: Typo in processing event example
2014-08-28 14:23:15 +01:00
Allan Jardine
267ab376b8
Update example: Update the select column filtering example to use dt-init initComplete
...
* There are often questions about why it isn't working with Ajax. it
will now
2014-08-15 16:29:16 +01:00
Allan Jardine
e3a1d7b9a5
Workaround for dom text sorting
2014-08-06 11:21:27 +01:00
Allan Jardine
3978684f44
Update to 1.10.3-dev
2014-08-06 11:21:07 +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
7df451fe4c
Improved last page calculation.
...
Improved last page calculation when page size is changed on last page.
e.g. Suppose there are total 12 records and page size is set to 5 records/page. Go to last page, which should be 3, change page size to 10. Page#2 should be selected and it should show 2 records on it.
2014-08-06 11:17:57 +01:00
Allan Jardine
64f979a72b
Release 1.10.2
2014-07-31 14:59:26 +01:00
Allan Jardine
3743d6bc28
Dev: Add common shell method to get version string from a JSDoc
...
commented file
2014-07-31 14:58:33 +01:00
Allan Jardine
a8575c5a7a
Fix : #384 . Direct to the manual page for latest install instructions
2014-07-30 10:16:47 +01:00
Allan Jardine
a644aa7e21
Fix: Add redrawCalculations
option to dt-api columns().visible()
and dt-api column().visible()
to improve performance in a loop.
2014-07-25 16:26:30 +01:00
Allan Jardine
43118eed49
Fix: dt-api column().search()
wasn't returning the search term when not given any parameter (well, it was, but in an API instance which was wrong)
2014-07-25 10:09:44 +01:00
Allan Jardine
fc9d6fac64
Fix - examples: Update the tag
CSS to be more readable
2014-07-25 10:09:09 +01:00
Allan Jardine
a19e700582
Fix: When using :visible
for the column selector to get visible columns, no columns were returned due to an incorrect regex. Now :visible
can be used to get only the visible columns
2014-07-25 10:08:26 +01:00
Allan Jardine
7668646e1e
Fix: Regression from 1.10 whereby empty data for a column could cause an offset in the filtering column
2014-07-18 12:11:05 +01:00
Allan Jardine
9f5eb39a2f
Dev: Moving on to 1.10.2 development
2014-07-18 12:10:43 +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
e89c187b16
Remove old demo files that are no longer required
2014-07-15 11:40:48 +01:00
Allan Jardine
3cd15f1c16
DataTables 1.10.1 release
2014-07-15 11:33:57 +01:00
Allan Jardine
641924cbee
Fix: If filtering data is null, undefined or NaN it is not included in the filter
2014-07-15 11:33:39 +01:00
Allan Jardine
39df74eb2c
Fix: dt-init createdCell
cellData prarameter now passes in the original data for the cell
...
* This reverts the last commit which documented the old behaviour.
Thinking again about it, if you want to modify the rendered data use
`$(cell).html()`.
2014-07-15 11:33:25 +01:00
Allan Jardine
13e33e2177
Fix docs: Add clarification for cellData
in dt-init columns.createdCell
...
* Based on discussion in thre 22009
2014-07-15 11:33:10 +01:00
Allan Jardine
786d79d1a9
Fix: dt-api cell()
was not selecting cells for row index 0
...
* Problem was the check for the index was falsy rather than checking for
undefined
* See thread 22219 for more information
2014-07-11 10:11:17 +01:00
Allan Jardine
cd920b0605
New: Instance methods for a data source are now executed in the scope of that instance
...
* When `dt-init columns.data` / `dt-init columns.render` resolve to a
function, that function is executed. Previously this execution was in
the global scope, but in order to be able to use an instance as a data
source for the row (something I wanted as part of 1.10) we need to
execute the function with the instance's scope. A simple `call()` does
this.
* I could add a check to see if the `rowData` is a plain object or not,
but that would add significant overhead to the processing, and this
particular part of the code needs to be very fast. Additionally, I
think it is unlikely that any one was dependant on this being executed
in global scope, so the change is made.
* This fixes DataTables/DataTables #368 .
2014-07-10 16:11:29 +01:00
Allan Jardine
264e1f0a60
New: Cell styling classes for alignment of text
...
* This fixes DataTables/DataTables #371
2014-07-10 14:24:04 +01:00