Commit Graph

25 Commits

Author SHA1 Message Date
Craig Boland
912bbfc70d Updated jquery.dataTables for 1.10.8 (#11718)
Release Notes: https://cdn.datatables.net/1.10.8/

* Expanded .draw() parameter data type to allow string.
* Added "serverSide" parameter to page.Info() return type.
* $.fn.dataTable.tables() can now return instance of DataTables API.
* Added rowId option.
* Added row().id() method.
* Added rows().ids() method.
* Added count() method.
* Added 'numbers' paging option.
* Resolved implicit 'any' instances in test file.
* Attempt to clarify use of $.fn.dataTable.tables() method in test file.

Note: rows().every(), columns().every(), cells().every() parameter list was incorrectly updated in the 1.10.6 version of this file. The parameters listed apply to 1.10.8.
Note: the added 'postfix' option to 'number' renderer appears to be used internally.
2016-10-25 22:22:35 +09:00
laureysruben
00595a5ec7 Add LanguageSettings.url option (#11897)
The datatables language options contains a url parameter to get language settings over ajax. This should be included in the typings file.
2016-10-12 22:01:03 +09:00
Thomas G
69c68a0ae0 jquery.dataTables fix (#11806)
Added missing index argument
2016-10-06 14:19:14 -07:00
Akinzekeel
7f129d9a51 Updated the RowMethods interface (#11665)
* Updated the RowMethods interface

This Interface was missing the Definition of the id() method.

Link to official documentation: https://datatables.net/reference/api/row().id()

* Changed indentation from tabs to spaces
2016-10-03 11:35:33 -07:00
Craig Boland
3518ba75e1 Updated jquery.dataTables for 1.10.7. (#11408)
* Updated jquery.dataTables for 1.10.7.

Version release notes: https://cdn.datatables.net/1.10.7/

* Added any()
* Added i18n()

Note: selector-modifier support currently exists with interface ObjectSelectorModifier.

* Added strong variable typing in jquery.dataTables-tests.ts

* For parameter 'def', replaced 'Object' data type with 'any' per TypeScript declaration file guidance.
2016-09-28 22:05:50 +09:00
Boland, Craig
1a0c542bd4 Removed optional flag from parameters from .every() methods. 2016-09-20 14:07:03 -05:00
Boland, Craig
19425cf327 Updated jquery.dataTables.d.ts for 1.10.6.
Version release notes: https://cdn.datatables.net/1.10.6/

* Added rows().every()
* Added columns().every()
* Added cells().every()
* Added init()
* Expanded method signature when ajax.data is used as a function.
2016-09-20 12:22:11 -05:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
vvakame
39f22f95a3 change permission 0755 to 0644 2016-03-10 23:03:55 +09:00
Gordey Doronin
ba8a9c2e21 Fixed wrong draw() method description
It seems `draw()` method description has been copy-pasted from `destroy()` method.
Now fixed.
Proof http://datatables.net/reference/api/draw%28%29
2015-10-12 17:58:33 +06:00
pingcrosby
c3d8ef3939 Set LanuageSettings to optional
Language info fields marked as optional to allow constructs as

var table = $('#example').DataTable({

processing: true,
serverSide: true,
pagingType: "full_numbers",
lengthMenu: [5, 10, 15],
language:  {
paginate: {
first: "Fsairst",
last: "Laasst",
next: "Nexast",
previous: "Preavious"
}
},
2015-06-08 13:30:55 +01:00
Robert Dennis
1fe8043148 jquery.dataTables - fix FunctionColumnRender and FunctionColumnData signitures. 2015-04-29 23:10:02 -04:00
Robert Dennis
554a62d829 Revert "Fix query.dataTables column.render signature"
This reverts commit b95c1c9d13.
2015-04-21 11:13:17 -04:00
Robert Dennis
b95c1c9d13 Fix query.dataTables column.render signature 2015-04-21 10:15:41 -04:00
Kiarash Ghiaseddin
dac611a93d Add missing reference path to jquery.d.td 2015-03-25 19:31:16 +01:00
Kiarash Ghiaseddin
cc4234e4c7 Update header 2015-03-25 17:57:32 +01:00
Kiarash Ghiaseddin
9e571910b4 Add 'old' api Settings, new namespace is SettingsLegacy
# Add 'old' api Settings, new namespace is SettingsLegacy
# Fix header
2015-03-25 16:56:15 +01:00
Kiarash Ghiaseddin
8fa411866a Add reference paths 2015-02-18 12:42:18 +01:00
Kiarash Ghiaseddin
845b8e3ccb Add (legacy) Settings for internal api use
# Add (legacy) Settings for internal api use
# Remove I from naming
# Update tests
2015-02-18 01:53:48 +01:00
Kiarash Ghiaseddin
09a539b811 New jquery.dataTables.d.ts for new API 1.10.x
# complete file adding new Settings and API for dataTable
# all methods and settings for 1.10.5
# basic testing
2015-02-13 14:25:32 +01:00
TessenR
845070d832 Field name fix
According to official documentation correct name is bServerSide

doc:
http://datatables.net/docs/DataTables/1.9.0/DataTable.models.oSettings.oFeatures.html
2014-07-04 16:00:31 +04:00
Armin Sander
65a37c72a7 Make jquery.dataTables compile with Typescript 0.9 2013-06-25 11:06:40 +02:00
Armin Sander
7e070a8845 add jquery.dataTables 2013-05-25 21:49:13 +02:00