Compare commits

...

955 Commits

Author SHA1 Message Date
Allan Jardine b5ca536b63 Removed: Legacy API methods are no longer available in DataTables 2
8 months ago
Allan Jardine 484094059e Release 2.0.2
8 months ago
Allan Jardine 6c9c2abac0 Features: Updates to operate with DataTables 2
9 months ago
Allan Jardine 0ad891685f Build: Latest build
9 months ago
Allan Jardine d9592b38b4 Sorting - natural: Updated to use `localeCompare`
9 months ago
Allan Jardine 8939a585fb Features - ScrollResize: Support for DataTables 2+
9 months ago
Allan Jardine a3912c9889 i18n: Translations from Edgars
10 months ago
Allan Jardine f3364b3844 Merge branch 'master' of github.com:DataTables/Plugins
10 months ago
Allan Jardine afc2728e22 i18n: Latest community changes
10 months ago
Allan Jardine 257a4c7c22 Fix: any-number extension should work with non-sting values (ie. numbers!)
12 months ago
Allan Jardine 244f788ecf Fix: Correct naming for slidingChild feature plugin
1 year ago
Allan Jardine 1c6f059eb4 Update src with change from #579
1 year ago
Allan Jardine 6c36a57cbc
Merge pull request #579 from PrzemyslawKlys/master
1 year ago
Przemyslaw Klys aa82831640
Adds support for conditional colors to the percentageBars rendering function
1 year ago
Allan Jardine 955a390cd5
Merge pull request #578 from stef-k/greek-diacritics-v3
1 year ago
Stef Kariotidis 4a24e3412a do not format document
1 year ago
Allan Jardine afc58016dc Latest build and fixing UTF-8 character encoding issue
1 year ago
Allan Jardine 9da7641c9e Latest contributed translations
1 year ago
Allan Jardine a2a46adf42 i18n: Fix week days for Portuguese translations
1 year ago
Allan Jardine bb1be77a50 1.13.6 release
1 year ago
Allan Jardine 9047d05de7 Correct character encoding
1 year ago
Allan Jardine 46b4033db7 Merge branch 'master' of github.com:DataTables/Plugins
1 year ago
Allan Jardine 19d63b60cd ScrollResize - add a demo using the `resize` CSS optio
1 year ago
Allan Jardine e2a8a322ef
Merge pull request #567 from neonbunny/bootstrap_input
1 year ago
Stephen Tomkinson aa274500d9
Fix inconsistent whitespace
1 year ago
Stephen Tomkinson 0c80187f21
Added bootstrap variant of input pagination plugin
1 year ago
Allan Jardine 94ba5b5873 Fix: Natural sorting nono-standard methods were not reverse sorting
1 year ago
Allan Jardine 4b02618578 Fix: Types for some sorting plug-ins needed to be updated
1 year ago
Allan Jardine d2b32a16eb Fix: Enum plug-in error
1 year ago
Allan Jardine e405113d46 Build latest - correct packaging errors
1 year ago
Allan Jardine 62ad028ca4 Features: Fix Alphabet search after refactor
1 year ago
Allan Jardine d4842eb445 Sorting: Fix for type sorting which weren't on the `type` property
2 years ago
Allan Jardine 139780ffe2 Merge branch 'master' of github.com:DataTables/Plugins
2 years ago
Allan Jardine a7ef1706b0 API: Add `column[s]().searchable()` method
2 years ago
Allan Jardine 25fc20a37a Merge branch 'master' of github.com:DataTables/Plugins
2 years ago
Allan Jardine 3d744ddbdf Latest language updates
2 years ago
Allan Jardine 323a3b0b01 Fix: Expose `ext.order.intl` again (was renamed to DataTable.intlOrder)
2 years ago
Allan Jardine c3315b02ce Merge branch 'master' of github.com:DataTables/Plugins
2 years ago
Allan Jardine 1da55cf279 Dev: Add sponsor button to repo
2 years ago
Allan Jardine 41681850e2
Dev: Move prettier x to dev dependencies
2 years ago
Allan Jardine 950f84e173 Update: CommonJS loader to support non-execution loading
2 years ago
Allan Jardine 44bd7c34bc Fix: Missed jQuery dependency for a lot of plugins
2 years ago
Allan Jardine df92dbc8e8 AMD, CommonJS and ESM loaders for language files
2 years ago
Allan Jardine 87bb97dbb4 Complete transition to typescript and ESmodule + UMD loader for everything that will be included with the exception of i18n (upcoming)
2 years ago
Allan Jardine 4fff59b4ae Working towards support for both UMD and ESM loadings for plug-ins
2 years ago
Allan Jardine e5e803ec5f New excludeSearch plug-in
2 years ago
Allan Jardine 8a57d7f4c3 Merge branch 'master' of github.com:DataTables/Plugins
2 years ago
Allan Jardine 7d5b0c70d9 Latest translations
2 years ago
Allan Jardine e65e4cbeab Release 1.13.1
2 years ago
Allan Jardine bd3bfccb93
Merge pull request #552 from WinterSilence/patch-1
2 years ago
Allan Jardine 9f00721169 Merge branch 'master' of github.com:DataTables/Plugins
2 years ago
Allan Jardine a409717a1c i18n: Latest translations from the community
2 years ago
Anton b926f43440
Update anchor.js
2 years ago
Allan Jardine f4411e8b2e
Merge pull request #553 from WinterSilence/patch-2
2 years ago
Anton 27bd88a867
Create PULL_REQUEST_TEMPLATE.md
2 years ago
Anton b2eacaade1
Update anchor.js
2 years ago
Anton 908306c271
Update anchor.js
2 years ago
Anton 2199ba4648
Update anchor.js
2 years ago
Anton 129757a12d
Update anchor.js
2 years ago
Anton f31fba3d75
Add data renderer anchor
2 years ago
Allan Jardine b69c6e3bea
Merge pull request #548 from JMolenkamp/master
2 years ago
Allan Jardine 131b63b623
Merge pull request #549 from JMolenkamp/fix-page-resize
2 years ago
Allan Jardine 66bd97e41f
Merge pull request #550 from yaakovfeldman/master
2 years ago
yaakovfeldman 40e3b46cd0
Ensure that data is string before escaping
2 years ago
yaakovfeldman 4d3a6850b9
Escape input even when no shortening required
2 years ago
Joost Molenkamp a9f1ba1c0b PageResize: delay initial call to _size until table is fully initialized
2 years ago
Joost Molenkamp 90d135e8d6 ScrollResize: redraw header on scrollbar hiding during feature initialization
2 years ago
Allan Jardine bb13b174d0
Merge pull request #547 from JMolenkamp/master
2 years ago
Joost Molenkamp ca1e5396d9 ScrollResize: remove draw event handler on table destruction
2 years ago
Allan Jardine a25c28206a
Merge pull request #546 from JMolenkamp/master
2 years ago
Joost Molenkamp d405f51abb Use the set moment locale as a fallback instead of fixed 'en'
2 years ago
Allan Jardine 9b7b8feb0f
Merge pull request #545 from JMolenkamp/master
2 years ago
Joost Molenkamp b308a5b5ba ScrollResize: remove resize helper iframe on table destruction
2 years ago
Allan Jardine 6315d1af8d
Merge pull request #543 from JMolenkamp/page-resize
2 years ago
Joost Molenkamp 9016c33370 Resize on layout changes due to width changes
2 years ago
Allan Jardine bc21f6cfed
Merge pull request #542 from JMolenkamp/master
2 years ago
Joost Molenkamp 856964b396 Remove resize helper object on table destruction
2 years ago
Allan Jardine 47e8c82923
Merge pull request #541 from mvwieringen/mvw/datetime-luxon
2 years ago
Marco van Wieringen 8c583e9800 Fix datetime-luxon.js
2 years ago
Allan Jardine dba5a6173b Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine 3ef5647602 Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine 4bbfa077b8 i18n: Latest translations
3 years ago
Allan Jardine 23a24aec68 Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Colin Marks 06210a13dd TEST debug left in the luxon datetime plugin
3 years ago
Allan Jardine 36ef8a6a3b i18n: Correct typo
3 years ago
Allan Jardine 00e8e08be0 Release 1.11.5
3 years ago
Allan Jardine 201e325c2d i18n: Latest translations
3 years ago
SandyDatatables a24a7b847c Remove renamed files
3 years ago
Allan Jardine 58122f50f9 i18n: One last file for the naming change
3 years ago
Allan Jardine 5d683d9770 i18n - Use ISO 639-1 and ISO 3166-1 alpha-2 for file name consistency
3 years ago
Allan Jardine 819d1ff747 i18n: Latest
3 years ago
Allan Jardine a563be24d1 i18n: Fix es mx translation
3 years ago
Allan Jardine 9b99d2ffb1 i18n: Latest translations
3 years ago
Allan Jardine 5ea470649c Update package file
3 years ago
Allan Jardine 2593853d69 i18n: Latest translations
3 years ago
Allan Jardine 95821d542c Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine 1018be0fb1 i18n: Latest updates
3 years ago
SandyDatatables 9027618f41 Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
SandyDatatables 309709aded fix: Fix issue with scrollresize calling legacy api method on FixedColumns
3 years ago
Allan Jardine 9279a419fd Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine 97728bebab i18n: Latest translations
3 years ago
Allan Jardine a7cb879051
Merge pull request #532 from grahambo2015/patch-1
3 years ago
Kevin Gilkey-Graham 0688007640
Added port to IPV4 sorting and reduced if/else chains
3 years ago
Allan Jardine fc25f864c9
Merge pull request #531 from IServ-GmbH/fix-ip-sorting
3 years ago
Paik Paustian 5470f7a42d
Fix IP address sorting when there are empty entries in the table
3 years ago
Allan Jardine b820aaeee5 Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine bedb1637ca i18n: Latest translations
3 years ago
Allan Jardine fe3efbef1f Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine f3b36fada0 Fix: Support fuzzy search on a page where a non-fuzzy search DataTable is also used
3 years ago
Allan Jardine fec024221b Latest i18n updates
3 years ago
Allan Jardine cf379c8142 i18n: Latest translations
3 years ago
Allan Jardine bd2ecbfcd6 Correct copyright notice
3 years ago
Allan Jardine 04eab7aaa3 i18n: Latest translations
3 years ago
Allan Jardine ba193c9535 Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine 222fbb6183 i18n: Latest translations
3 years ago
SandyDatatables 3f220cb0e6 fix: Fix fuzzysearch tooltip alignment issue with small screens
3 years ago
SandyDatatables 139ca488ff fix: Fix issue with fuzzy search tooltip alignment
3 years ago
SandyDatatables 847c963c1d fix: Fix issue with search box moving to the left when fuzzysearch toggleSmart enabled
3 years ago
Allan Jardine 246273745c i18n: Latest changes
3 years ago
Allan Jardine 4bc47281e5 Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine fc7249555e Latest builds
3 years ago
Allan Jardine d5cf336182 Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine 4af8e7d067 i18n: Latest translations
3 years ago
SandyDatatables c1cf66ce24 remove: Remove all .lang files, only the json are needed now after i18n improvements
3 years ago
SandyDatatables 84f3a707a2 dev: remove debug
3 years ago
SandyDatatables d8409c7a67 update: Move fuzzy search examples to 1.10.25
3 years ago
SandyDatatables 3b8785a997 fix: Fix issue with toggle button alignment on mobile devices
3 years ago
SandyDatatables d8591b4836 fix: Add more notes on fuzzy search api example
3 years ago
SandyDatatables f208ef7121 new: New example to demonstrate api methods
3 years ago
SandyDatatables a918dd1791 fix: Fix issue with statesaving
3 years ago
SandyDatatables cacba2f2d7 Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
SandyDatatables 3617a8a7a8 fix: needed another undefined check
3 years ago
Colin Marks 947dadb05f DEV tweaks to the docs
3 years ago
SandyDatatables 119b2475ca fix: Fix pageresize examples - needed a newer version of dt
3 years ago
SandyDatatables b6fb65c68a dev: Make examples match the actual code
3 years ago
SandyDatatables 3195490f51 dev: Update to use the new search.return initialisation option
3 years ago
SandyDatatables dfdb13d413 fix: Fix fuzzy search api to match spec
3 years ago
SandyDatatables 1d421d1d70 new: Add new api method to fuzzySearch
3 years ago
SandyDatatables e2d808c971 dev: Add example calculation to threshold example
3 years ago
SandyDatatables de9324eaef fix: Reduce the number of search events triggered by fuzzy search
3 years ago
SandyDatatables 5e1b853681 dev: Increase timeout to get to tooltip to 250ms
3 years ago
SandyDatatables 17745ebc93 fix: Split words on whitespace instead of non letters or numbers
3 years ago
SandyDatatables b733446ed9 dev: Add more individual information to internal examples
3 years ago
SandyDatatables 1c0f914800 Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
SandyDatatables e255ed546d dev: Fix statesaving example for fuzzy searching - was setting the threshold to true which broke things
3 years ago
SandyDatatables 46f4352abe dev: Update examples to contain correct code at the base of the page
3 years ago
Colin Marks 7d89fa90bb DEV tweaks to examples text (same as main example)
3 years ago
SandyDatatables d2a3b53026 dev: More improvements for fuzzySearch script
3 years ago
SandyDatatables e8609c7464 dev: Small formatting improvements for fuzzySearch
3 years ago
SandyDatatables 683c6176ab Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
SandyDatatables 8d52285775 dev: update script tags for renamed fuzzySearch
3 years ago
SandyDatatables 4fa1361939 dev: Rename js for fuzzySearch appropriately
3 years ago
SandyDatatables ce88682434 new: New plugin for fuzzy searching
3 years ago
Allan Jardine 8852f98e16 i18n: Latest translations from web-site
3 years ago
Allan Jardine ab86a825cb i18n: Remove translation strings where English is a default empty string, to ensure they match
3 years ago
Allan Jardine 8c0bc8c5ce i18n: Remove `0` from select (rows) to match English
3 years ago
Allan Jardine 8bcfab2bee i18n: Latest transations
3 years ago
Allan Jardine 208cc5aa00 Merge branch 'master' of github.com:DataTables/Plugins
3 years ago
Allan Jardine a7b5bd4581 i18n: Latest translations
3 years ago
Colin Marks 8cc42550ed DEV tweaks to the wording
3 years ago
Allan Jardine 589a413d70 i18n: Latest translations
3 years ago
Allan Jardine 4627145940 i18n: Latest translations
3 years ago
Allan Jardine 6dc5bec1f3 Merge branch 'master' of github.com:DataTables/Plugins
4 years ago
Allan Jardine 7138837e9d i18n: Latest changes
4 years ago
Allan Jardine 98bc59d85b Merge branch 'master' of github.com:DataTables/Plugins
4 years ago
Allan Jardine 5431d8fa29 PageResize: Working with server-side processing
4 years ago
Allan Jardine 06791a06e4 i18n: Further translations
4 years ago
Allan Jardine 76db91e2dc Merge branch 'master' of github.com:DataTables/Plugins
4 years ago
Allan Jardine 234b470892 Allow file size plugin to work with empty strings
4 years ago
Allan Jardine f10a04087f Merge branch 'master' of github.com:DataTables/Plugins
4 years ago
Allan Jardine c536dd4a14 i18n updates
4 years ago
Allan Jardine b5299673e8
Merge pull request #520 from KhorshidLab/master
4 years ago
Hesam Mohammadi 3b805f0fd2 Add Persian number sorting plugin
4 years ago
Hesam Mohammadi 21dc30cba3 Add Persian number sorting plugin
4 years ago
Allan Jardine b310e30d68 i18n: Latest translations
4 years ago
Allan Jardine 26791eba56 i18n: latest translations
4 years ago
Allan Jardine f04c150d60 i18n: Latest translations
4 years ago
Allan Jardine 43f45c5d70 Merge branch 'master' of github.com:DataTables/Plugins
4 years ago
Allan Jardine 5161a7ae6c i18n: Latest contributions
4 years ago
Allan Jardine c4c1227086 Release 1.10.24
4 years ago
Allan Jardine c099e81856 i18n: Latest translations
4 years ago
Allan Jardine a7dcee9fd4 i18n: Latest translations
4 years ago
Allan Jardine c98b4c451e Merge branch 'master' of github.com:DataTables/Plugins
4 years ago
Allan Jardine 8937f496cd i18n: Latest translations
4 years ago
Allan Jardine e75a62a99b Renderer: Multi renderer
4 years ago
Allan Jardine 483f236955
Merge pull request #514 from PrzemyslawKlys/master
4 years ago
Przemysław Kłys c671ab0581 Reverted back removal
4 years ago
Przemysław Kłys a3a061e8be fixes spaces into tabs from the initial commit
4 years ago
Przemysław Kłys a1b1d7fec0 Impovement to variables used
4 years ago
Przemysław Kłys 4cc9d34158 Defines parameters within options
4 years ago
Allan Jardine 175f113d9b
Merge pull request #513 from PrzemyslawKlys/master
4 years ago
Przemysław Kłys a16909ab51 Add caseSensitive + addNumbers
4 years ago
Przemysław Kłys dcebee13c4 removed width to accomodate numbers and case sensitivity
4 years ago
Przemysław Kłys c83dcaae80 Added caseSensitive variable
4 years ago
Przemysław Kłys 1400429289 Adds ability to choose column for search
4 years ago
Allan Jardine ec4906dd9b Merge branch 'master' of github.com:DataTables/Plugins
4 years ago
Allan Jardine 9c5e389fd6 Latest i18n changes
4 years ago
SandyDatatables 0ab43ae83a new: Luxon version of the Ultimate Date Sorting Plugin
4 years ago
Allan Jardine 75175f7d2c
Merge pull request #508 from ialireza/master
4 years ago
Allan Jardine e88875d102 Latest updates from site
4 years ago
AliRezaMohammadiDoost 623c9f8218
convert numbers to other languages in datatables
4 years ago
Allan Jardine 54f44eb676 Merge branch 'master' of github.com:DataTables/Plugins
4 years ago
Allan Jardine addb0eb013 Fix - sorting: Datetime moment was giving an error when used on non-string types
4 years ago
Allan Jardine aef06f24c7 Merge branch 'master' of github.com:DataTables/Plugins
4 years ago
Allan Jardine a6453431b3 i18n updates
4 years ago
Allan Jardine 1efa4b7f9b
Merge pull request #505 from duartedanilo/master
4 years ago
Allan Jardine 98f1f85d3d Latest i18n updates
4 years ago
Danilo Duarte 3b5da684ea add language option to select.js
4 years ago
Allan Jardine cb93ce9ddd 1.10.22 for npm
4 years ago
Allan Jardine d313de6f5f
Merge pull request #501 from julmot/datatables.mark.js-2.1.0
4 years ago
Allan Jardine 3cf7d00ef5
Update Readme.md
4 years ago
Allan Jardine 5b8ee9d99b
Fix markdown
4 years ago
Allan Jardine ffb9b44b29 Merge branch 'master' of github.com:DataTables/Plugins
4 years ago
Allan Jardine 0e50b8e3dd i18n files with language code as its file name and pure JSON
4 years ago
sandyDatatables c5b9dbfb21 Merge branch 'master' of github.com:DataTables/Plugins
4 years ago
sandyDatatables debf57430d Add to english lang file for select options and also add contributing.md
4 years ago
Allan Jardine 41ef37f7ed Merge branch 'master' of github.com:DataTables/Plugins
4 years ago
Allan Jardine 0d779e94c7 i18n: Add language code file names for new site i18n
4 years ago
Allan Jardine f7bd661c59 Sort: Note that the neutral plugin is only suitable for client-side processing
4 years ago
Julian Kühnel 1675b430e7 Update datatables.mark.js
4 years ago
Julian Kühnel d203844e33 Merge branch 'master' of https://github.com/julmot/Plugins
4 years ago
sandyDatatables 6ac307f367 dev: Fix JSON error in Arabic.lang
4 years ago
Allan Jardine 546c7956bf
Merge pull request #500 from ardeman/patch-1
4 years ago
Ardeman 4c7a531ec0
Update Indonesian.lang
4 years ago
Allan Jardine b0fa4b7520
Merge pull request #498 from AhmadBD/master
4 years ago
Ahmad BD 5a7b0dfda5 Update Arabic.lang to include select and buttons
4 years ago
sandyDatatables b7d6c1615a dev: fix to validate json
4 years ago
sandyDatatables bc7860801a update: Add SearchBuilder condition language options to English.lang file
4 years ago
Sandy Galloway 9fb93683ee
Merge pull request #496 from ardeman/patch-1
4 years ago
Ardeman fd800c1b5c
Update Indonesian.lang
4 years ago
Ardeman 876a4f7304
Update Indonesian.lang
4 years ago
Allan Jardine b400e641b3 Remove use of deprcated $.trim
4 years ago
Allan Jardine d260b2282c Remove use of deprecated $.isArray
4 years ago
SandyDataTables e081c863a4 Merge branch 'master' of github.com:DataTables/Plugins
4 years ago
SandyDataTables 1cc821425b Complete english file
4 years ago
Allan Jardine 6a847168c3
Merge pull request #494 from garretthyder/bugfix/conditionalPageLength_all_vanish
4 years ago
Garrett Hyder a625218c71 Fix an issue where the Page Length Control would vanish when switching to 'All' (-1) as the option. Update now only makes the control vanish if the page size is smaller than the smallest length setting and we're only viewing a single or 0 pages.
4 years ago
Julian Kühnel bb726ed591 Update datatables.mark.js to v2.0.2
4 years ago
Allan Jardine 8df683813c
Merge pull request #492 from garretthyder/conditionalPageLengthControl
4 years ago
Garrett Hyder 335a487a64 Introduce a conditionalPageLength feature plugin based off of conditionalPaging to hide the page length control when <= 1 page. Also add sub option for contionalOptions to hide page length options that are > the current result size.
4 years ago
sandyDataTables 743698d1fc fix: remove empty strings where that is default, missed one
4 years ago
sandyDataTables 4974f72ba5 fix: remove empty strings from language files where that is the default
4 years ago
sandyDataTables c2978fcdee new: Add language codes to .lang files
4 years ago
sandyDataTables 9e91ad9667 fix: Fixed fussy JSON errors in .lang files
4 years ago
Allan Jardine fe557ff62f
Merge pull request #491 from khrome666/patch-1
4 years ago
Mário Almeida 098a3a537e
Update Portuguese.lang
4 years ago
Allan Jardine a125ea30fe
Merge pull request #489 from oriole9g/patch-4
4 years ago
Oriol 81eaa1df3a
Update Catalan.lang
4 years ago
Allan Jardine 395245fd3f
Merge pull request #490 from oriole9g/patch-5
4 years ago
Oriol 9c24fa1253
Update Catalan.lang
4 years ago
Oriol 5e1394d196
Rename telugu.lang to Telugu.lang
4 years ago
Oriol 5610167b5f
Update Catalan.lang
4 years ago
Allan Jardine b6e65aed23
Merge pull request #488 from Ryandgs/patch-1
4 years ago
Ryan Douglas e39c4ae4cb
Fix Portugueses.lang
4 years ago
Allan Jardine 762b9e494d
Issue template directing support questions to the forum.
4 years ago
Allan Jardine 7deb22246a
Merge pull request #483 from zhouhana/patch-1
4 years ago
Allan Jardine dc840b2a5a
Merge pull request #482 from duleorlovic/master
4 years ago
Johanna Lindh ed96e2fdf1
Update Swedish.lang
4 years ago
Dusan Orlovic ad754533ef Serbian translation (d->t jednacenje suglasnika)
4 years ago
Allan Jardine 5fa8153fdf
Merge pull request #481 from blackdrago/feature/custom-data-source
4 years ago
K. McCormick 4d4145a96e Adding type dom-text-numeric type that is mentioned in the manual and plugins but doesn't seem to be in the repo.
4 years ago
Allan Jardine 0799ee37a7
Added a new render hyperLink.js
4 years ago
LokeshBabuTG 6106331e05
implemented review comments
4 years ago
LokeshBabuTG 25ae6ae135
Added a new render hyperLink.js
4 years ago
Allan Jardine 64178d6230
Kannada.lang i18n plugin.
4 years ago
rakesh-gv e93b007bf3 Formatting kannada.lang
4 years ago
rakesh-gv 2efb1179d7 Added kannada language plugin(i18n)
4 years ago
Allan Jardine 685a289b35
Merge pull request #477 from dprojects/patch-1
5 years ago
Darek L 0024c10eaa
Create novalue.js
5 years ago
Allan Jardine d6d99b4617
Merge pull request #475 from dashzeveg/patch-1
5 years ago
Dashzeveg Galbadrakh cdf808cdfa
The translations of sNext and sPrevious
5 years ago
Allan Jardine 32add59700
Merge pull request #473 from raimonesteve/master
5 years ago
Raimon Esteve 2c979c4832 FIX catalan lang syntax
5 years ago
Allan Jardine 3c731d416e Renderer: moment - allow for empty values
5 years ago
Allan Jardine e274c61772
Merge pull request #472 from ijagjeet/master
5 years ago
Jagjeet Singh 4ab150bcd9
Create Punjabi.lang
5 years ago
Allan Jardine 97f90c5642
Merge pull request #458 from seb-ksl/patch-1
5 years ago
Allan Jardine 3f380dc9f9
Merge pull request #469 from hellokfk/fix-turkish-string-sort-plugin
5 years ago
kfk 176cf29f13 Fix: turkish-string sort plugin example
5 years ago
Allan Jardine fb9eeae479
Merge pull request #468 from oriole9g/patch-2
5 years ago
Allan Jardine 8db3c0581e
Merge pull request #467 from oriole9g/patch-1
5 years ago
Oriol 93c6119af4
Update Catalan.lang
5 years ago
Oriol f2a08c0ba7
Update Catalan.lang
5 years ago
Oriol ceb98356ba
Update Catalan.lang
5 years ago
Oriol 40c90e16fe
Update Catalan.lang
5 years ago
Oriol 561f13bf64
Update Catalan.lang
5 years ago
Oriol c892b0ffb0
Update Catalan.lang
5 years ago
Oriol 944abed135
Update Catalan.lang
5 years ago
Oriol 3da9325903
Update Spanish.lang
5 years ago
Allan Jardine 41088795f6
Merge pull request #465 from priyankaa-patil/BugFixOnNavigationClick
5 years ago
priyankapatil 454bc49f81 Fixed issue - Datatable is displaying old value when user clicks next or previous button.
5 years ago
Allan Jardine 647d4625f4
i18n: Rumantsch
5 years ago
Allan Jardine 3d5d7e8786
Merge pull request #464 from freezy-sk/i18n-slovak
5 years ago
freezy 59ca55a56a fix slovak thousands separator
5 years ago
Allan Jardine ec9990cee3
Merge pull request #462 from davrodrila/spanish-patch
5 years ago
David Rodríguez 04bbc981fc Removed smiley face at the end of the translation string sEmptyTable. It looks unprofessional and kinda tacky.
5 years ago
Colin Marks 6090a52b5b DEV kevin's tweak for row().show()
5 years ago
Allan Jardine 40abbc1dc4 1.10.20 release for npm
5 years ago
seb-ksl 4159b4ad48
Trigger "page" event on input change.
5 years ago
Allan Jardine 90ae50b661
Removing redundant sliding child min file
5 years ago
Colin Marks 25e4eacb1d DEV typo in doc
5 years ago
Allan Jardine 8be4d7fdc3
Merge pull request #457 from 3ncor3/patch-1
5 years ago
3ncor3 0267439e5b
Update Malay.lang
5 years ago
Allan Jardine 7826aef7a4
Merge pull request #456 from glha/master
5 years ago
glha 4efbcadf2b
Removing extra curly bracket
5 years ago
glha ff67b86b72
Updating pt-br with buttons' Copy strings
5 years ago
Allan Jardine 7007f55e26
Merge pull request #454 from mining016/patch-1
5 years ago
mining016 88d6a7d90a
Improved Gujarati.lang
5 years ago
mining016 6c1ddc469b
Update Gujarati.lang
5 years ago
mining016 717ebd1df2
use the default DataTables macro names
5 years ago
mining016 54dd1ce2d9
sInfo updated
5 years ago
Allan Jardine 9ec3f80107
Merge pull request #453 from Farkhod/tajik.lang
5 years ago
Farkhod 078a534328
Update Tajik.lang
5 years ago
Allan Jardine dfb39590b3
Merge pull request #448 from Farkhod/tajik.lang
5 years ago
Akhmedov Farkhod 3c35afa776 Added translations for Tajik lang
5 years ago
Allan Jardine a9ebef328a
Merge pull request #447 from sogustavo/master
5 years ago
Gustavo Silva 9df7f533c6
Updating Portuguese.lang
5 years ago
Allan Jardine c7e519f9a8
i18n: Kurdish Language Translation
5 years ago
aram db336d893d
Kurdish Language Translation
5 years ago
Sandy Galloway abecb2e74c Merge branch 'master' of github.com:DataTables/Plugins
5 years ago
Allan Jardine 4981f116ac
Merge pull request #444 from MarkKhromov/master
5 years ago
Mark Khromov 9a6286d59d Fixed invalid JSON
5 years ago
Sandy Galloway 3aa9b4a39c Issue DD-704
5 years ago
Mark Khromov e644e56d09 Added russian translation for Select plugin
5 years ago
Allan Jardine 496f16e7e0 Latest build
5 years ago
Allan Jardine e18920e4da Features: File rename
5 years ago
Colin Marks 42dadc1ca8 DEV scrollToTop - dinky little new feature to scroll to top of table on each page change
6 years ago
Sandy Galloway 0903e9aeda New Plug in to sort case dependently, prioritising upper case letters before moving on to lower case.
6 years ago
Sandy Galloway 6b59f9e76a I forgot an appropriate summary tag!
6 years ago
Sandy Galloway 9a3c38d91c New sorting plug in for numeric sorting within strings.
6 years ago
Allan Jardine 9e6ea96aa6 Filtering - improved support for searching with accents
6 years ago
Colin Marks 12d60fe7ab Merge branch 'master' of https://github.com/DataTables/Plugins
6 years ago
Colin Marks 47ab1b67e3 DEV allows searching for ampersands in searchpane text
6 years ago
Allan Jardine 0045ee3d99
Merge pull request #441 from Ares9323/master
6 years ago
Ares9323 0086e9cde3 Added characters for European languages
6 years ago
Allan Jardine 037cb53cdb Duh
6 years ago
Allan Jardine 7a2f9ea2fb Fix - docs: Moment datatime renderer
6 years ago
Allan Jardine e5c9311729
Merge pull request #430 from AlexDEVpro/sorting
6 years ago
Alexander 61dfc198c2
Move the parameter to the end of the function.
6 years ago
Alex 60362bf3c9 Update datetime-moment plugin. Add a Boolean parameter that allows to invert the order of empty values.
6 years ago
Allan Jardine e184145bd3
Merge pull request #428 from georgd/patch-1
6 years ago
Georg Mayr-Duffner f1f0dfda24
Add translation for pageLength
6 years ago
Colin Marks 69d9915a75 DEV left in debug (not a good edit this one...)
6 years ago
Colin Marks 1cb1d80874 DEV formatting corrections to last edit
6 years ago
Colin Marks d6b5dc1729 DEV DD-813 - the search wasn't working for numbers... does now
6 years ago
Allan Jardine b3f99a9fba
i18n: Lao Language
6 years ago
jumbolpc 005350868b
Update Lao.lang
6 years ago
jumbolpc 3a34804768
Create Lao.lang
6 years ago
Allan Jardine 38f05007a5
Merge pull request #423 from Woodag/master
6 years ago
Tom Neubert a152c7c2b4 Repair czech alphabet sorting
6 years ago
Allan Jardine 6b283bbac0
Merge pull request #422 from schizophrene/patch-1
6 years ago
Lucas e72ba80a0a
Re adding `select` entry
6 years ago
Lucas b83ecc5853
Update french.lang
6 years ago
Allan Jardine 909bb7fda2
Merge pull request #418 from BehroozJanfada/master
6 years ago
BehroozJanfada f3b06751d6 Some corrections and sugestions on Persian translation
6 years ago
Allan Jardine 00957720c1
Merge pull request #417 from BehroozJanfada/master
6 years ago
BehroozJanfada abe417e941 farsi-numbers - new plugin to fix sorting issue on columns containing Farsi numbers
6 years ago
Allan Jardine d79c9aa402
Merge pull request #414 from duleorlovic/master
6 years ago
Dusan Orlovic 5bfac4bc40 Add cyr translation
6 years ago
Allan Jardine 64a266875d
Merge pull request #410 from Freivincampbell/patch-2
6 years ago
Allan Jardine c3b12e6847
Merge pull request #411 from mohannadnaj-forks/arabic.lang
6 years ago
Allan Jardine 3de80958a6 Fix - search pane: Muppet error!
6 years ago
MohannadNaj 81fe1aef7f Update Arabic.Lang
6 years ago
Freivin Campbell b13a41b131
Update Spanish.lang
6 years ago
Allan Jardine a04a0d6b8f Fix - searchPane: Ensure order for panels is consistent
6 years ago
Allan Jardine 558f4da51b Paging: jPaginator plug-in - license update from Ernani. Now MIT licensed
6 years ago
Allan Jardine 5a3c0b2fdc SearchPane: Remove an existing panel if there is one when rebuilding a pane
6 years ago
Allan Jardine dc1fcec9f1 Fix - Typo. Thanks Martin!
6 years ago
Allan Jardine d1d63afb57 New - SearchPane: Add the ability to specify `options` as a function in the column options for `searchPane` which will be used as a callback to get the data to display.
6 years ago
Allan Jardine b14c501aa1
Merge pull request #406 from miestasmia/master
6 years ago
Mia Nordentoft 76f641bd6d
Added Esperanto.lang
6 years ago
Allan Jardine 3faa7719d0
Merge pull request #403 from PVi1/master
6 years ago
PVi1 934ce3a692
added support for ipv4:port sorting
6 years ago
Allan Jardine 86bb873fed Sorting: Allow the brackets-negative to work with an empty string (i.e. it being 0)
6 years ago
Allan Jardine 1e3b8021ad
Merge pull request #398 from ici-be/patch-1
6 years ago
ici-be 95521e3118
Update French.lang
6 years ago
Allan Jardine fe79a9cdd4 Merge branch 'master' of github.com:DataTables/Plugins
6 years ago
Allan Jardine 6f02ed8cc7 Khmer translation from Sokunthearith Makara
6 years ago
Allan Jardine 5109dae268
Merge pull request #397 from fabiofdsantos/patch-1
6 years ago
Fábio Santos 798df15d9a
Update Portuguese.lang
6 years ago
Colin Marks a7d325fb5c DEV fix because of https://datatables.net/forums/discussion/comment/139690
6 years ago
Allan Jardine 1e09b225a5 Renderer: Improve doc comments
6 years ago
Allan Jardine a80d67b2c8 Fix: i18n German - Incorrect translation for "copySuccess" - Thank you Sepp9753
6 years ago
Allan Jardine e336705521 Fix search pane issues with ajax loading data and daft error for binning
6 years ago
Allan Jardine b21102e105 New: SearchPane now has a `column().paneOptions()` method that can be used to give it the options that should be displayed in the list, rather than just using the data available in the table. This is useful for server-side processing and more complex data sets.
6 years ago
Allan Jardine f3db23bdb9 Merge branch 'master' of github.com:DataTables/Plugins
6 years ago
Allan Jardine e2db9da4c3 Dev: Build for RowFill
6 years ago
Allan Jardine 4edb3ebdb2 New - feature: RowFill feature based on a forum answer by Colin. Basically it will ensure that the number of rows in the table always matches the page length
6 years ago
Allan Jardine 47eb88cc28
Merge pull request #392 from fred104/master
6 years ago
Allan Jardine 83ab4f0543
Merge pull request #393 from oliv3r/HTML_ips
6 years ago
fred104 c40be6193d Fix for buttons not worked
6 years ago
Olliver Schinagl 67fc59870d Also search in HTML formed cells
6 years ago
Olliver Schinagl e6a214d9f9 Cleanup pre function
6 years ago
fred104 a31c65af9a Use template to generate pagination info
6 years ago
Allan Jardine 2e120d1176 Typo for Ukrainian language file
6 years ago
Allan Jardine d44b16bf3d Button: Download - support arrays
6 years ago
Allan Jardine 0e9fada85b Make JSON valid
6 years ago
Allan Jardine bab7be0a0c
Merge pull request #386 from Potrecoo/patch-1
6 years ago
Patrick Jean Meurer b86b8b7190
Row Selection
6 years ago
Allan Jardine a6071de3a8 API: Note about `processing()` being available in DT2 core
6 years ago
Allan Jardine d0869a3521 Merge branch 'master' of github.com:DataTables/Plugins
6 years ago
Allan Jardine 458c0cd91e New - button: Download button
6 years ago
Allan Jardine f899ee7725
Merge pull request #385 from Silex/patch-1
6 years ago
Philippe Vaucher 20616e5335
Use valid JSON in French.json
6 years ago
Allan Jardine ac0b889a23
Merge pull request #384 from matusmark/patch-1
6 years ago
Matus Márk bee89fa66a
Update Hungarian.lang
6 years ago
Allan Jardine 157acc9888 1.10.19 release
6 years ago
Allan Jardine a98e9e4d4a
Merge pull request #383 from data-handler/master
7 years ago
Nick 22fa64dc46
Update datatables.slidingChild.js
7 years ago
Nick e2331ddd50
Update datatables.slidingChild.js
7 years ago
Nick eb73ee5dbb
Update datatables.slidingChild.js
7 years ago
Allan Jardine 920c7b45c0 Add missing doc block
7 years ago
Allan Jardine 732c809292 SearchFade min files
7 years ago
Allan Jardine 19769588b9 Merge branch 'master' of github.com:DataTables/Plugins
7 years ago
Allan Jardine 6663abad97 Dev: latest build
7 years ago
Allan Jardine 27b0504ede Merge branch 'master' of github.com:DataTables/Plugins
7 years ago
Allan Jardine d87c263561 i18n: Turkish formatting
7 years ago
Allan Jardine 8576c501d3
Merge pull request #382 from data-handler/master
7 years ago
Nick b2b12dd6c1
Delete sliding-child.js
7 years ago
Nick 03567d78db
Create datatables.slidingChild.min.js
7 years ago
Nick 70921c6291
Update datatables.slidingChild.js
7 years ago
Allan Jardine 7b21ddcfb5
Merge pull request #381 from data-handler/master
7 years ago
Nick 74395dfa0d
Update datatables.slidingChild.js
7 years ago
Allan Jardine d3d26e771c API: Add `rows().generate()` method which can be used to create nodes for rows which haven't yet been created (for use with `-init deferRender`)
7 years ago
Allan Jardine 71ba75d2f5 Fix - sorting: Absolute sorting didn't consider the case of the two items being compared both being in the "always" sorting categories.
7 years ago
Nick cfe86c4bbe
Update datatables.slidingChild.js
7 years ago
Nick c373070819
Create datatables.slidingChild.js
7 years ago
Allan Jardine 0f84a1c915 Merge branch 'master' of github.com:DataTables/Plugins
7 years ago
Allan Jardine 09119df4af i18n: Update German language file for row selector to remove default text when no rows selected to match English default
7 years ago
Allan Jardine b2c4c9266a
Merge pull request #378 from mabuak/patch-1
7 years ago
Ramadhan 11041a4400
Update Indonesian.lang
7 years ago
Allan Jardine 2b6e7adab2 Merge branch 'master' of github.com:DataTables/Plugins
7 years ago
Allan Jardine 5695ffe40c Features: UMD for pageResize and scrollResize
7 years ago
Allan Jardine c4030d991e
Merge pull request #377 from AnixPasBesoin/patch-1
7 years ago
Allan Jardine 18cbcbb5d9 Fix: Attempt to use the second row in the table to allow for top and bottom borders on rows
7 years ago
AnixPasBesoin a46b1b3331
Added translation for row selection
7 years ago
Allan Jardine a5432d0e33 Merge branch 'master' of github.com:DataTables/Plugins
7 years ago
Allan Jardine da67f99c24 Fix: Update for jQuery 3.3 deprecated functions
7 years ago
Colin Marks 0050e6c933 New sorting plugin for book chapter numbering
7 years ago
Colin Marks 7a6ff3585f fixed bug that stopped the page draw trigger from happening (thanks crush123)
7 years ago
Allan Jardine 529077edea
Merge pull request #375 from auycro/master
7 years ago
auycro 76894082d3
๊Update Thai
7 years ago
Colin Marks a0a9c23c78 first release of searchFade
7 years ago
Allan Jardine 220faaf222 Include scroll resize in minifier
7 years ago
Allan Jardine fbee1415d0 Fix #371: Limit search to a per item basis when multi-item searching
7 years ago
Allan Jardine a7cc270b20
Merge pull request #369 from miodragbogdanovic/patch-2
7 years ago
miodragbogdanovic 768b29279b
Update IP field is empty bug
7 years ago
miodragbogdanovic b9a6db3ef3
IP address field is empty bug
7 years ago
Allan Jardine af35f79121
Merge pull request #368 from kozfelipe/patch-1
7 years ago
Luiz Felipe Aranha 8b4f1f1394
Update percentageBars.js
7 years ago
Allan Jardine ff051b8bcf
Merge pull request #365 from lelit/master
7 years ago
Lele Gaifax 0bb0384662 Fix a typo preventing rendering of null dates
7 years ago
Allan Jardine bf77a15079
Merge pull request #364 from Niko9911/master
7 years ago
Niko 03e4658d08
Update Finnish.lang
7 years ago
Allan Jardine d1d1cef79b
Merge pull request #363 from saveshodhan/master
7 years ago
Shodhan 7e8d8d75af Updated doc
7 years ago
Shodhan 68714b682e Updating natural-time-detal plugin
7 years ago
Allan Jardine 8218517735
Merge pull request #362 from saveshodhan/natural_time_delta_sore_plugin
7 years ago
Shodhan e3c6c01d51 Adding plugin for natural time delta sorting
7 years ago
Allan Jardine 073b8d3f13 Merge branch 'master' of github.com:DataTables/Plugins
7 years ago
Allan Jardine 5ef6098378 Features - scroll resize: Add min file and allow to work offline
7 years ago
Allan Jardine 50ff31c606
Merge pull request #358 from Tchuba/master
7 years ago
Tchuba 709020a2a6
Rename czech-sorting.js to czech-string.js
7 years ago
Tchuba 4628f3ec0d
Add Czech language sorting extension file
7 years ago
Allan Jardine 7af6d3205a
Merge pull request #357 from RubenMartins/patch-1
7 years ago
Rúben Martins 0f1ee5dc06
Update to Portuguese.lang
7 years ago
Allan Jardine f36bfba72c
Merge pull request #356 from osworx/patch-1
7 years ago
OSWorX d484605941
Update German.lang
7 years ago
Allan Jardine e93612dfd1
Merge pull request #355 from toster234/master
7 years ago
Oliwier Thomas 7b43c59c80
Update Bulgarian.lang
7 years ago
Allan Jardine 2ccf40e0db Filtering: Accent neutralise - works for HTML now as well
7 years ago
Allan Jardine f5a02ca6f2 Feature - search pane: Small styling tweaks and tidy up
7 years ago
Allan Jardine d63f22010b Feature - searchPane: API method to rebuild panes
7 years ago
Allan Jardine 130178932d Feature - searchPane: State saving integration
7 years ago
Allan Jardine 1eb23d9c82 Feature - searchPane: Regex escaping
7 years ago
Allan Jardine 2e4a8c2aa0 Feature - searchPane: Don't show columns if there isn't enough variation in the data to warrent it. This is done via a variance calculation with a configurable threashold
7 years ago
Allan Jardine 9726e803fa Feature - searchPanes: Vertical layout demo and initialisation options
7 years ago
Allan Jardine e9c4e4a8ea Feature - searchPanes: Code style with Prettier
7 years ago
Allan Jardine 797c3e6f90 Feature - searchPanes: Class names can be defined
7 years ago
Allan Jardine e221ce9c3d Features - search pane: Cleaning up into functions
7 years ago
Allan Jardine 389a989060 Merge branch 'master' of github.com:DataTables/Plugins
7 years ago
Allan Jardine c8347a67a3 Latest builds
7 years ago
Allan Jardine eb47c64be7 Fix - i18n: Updates for Latvian translation by Edgars
7 years ago
Allan Jardine 8bb5cec11a
Merge pull request #351 from m4tx/patch-1
7 years ago
Mateusz Maćkowski 284ebf1251
Don't use window variable when instantiating Collator
7 years ago
Allan Jardine 1df2f6c529 Merge pull request #349 from ThorbenG/master
7 years ago
ThorbenG 938b092d23 Use valid JSON in german translation
7 years ago
Allan Jardine 11178dd27f Merge pull request #348 from AlexDEVpro/master
7 years ago
Alex 652507a0d9 Add an optional parameter for adjusting the height of the container for table rows manually. It is actual at least when using "angular-datatables v0.5.x" DataTables.net wrapper for AngularJS because it has specific layout.
7 years ago
Alex 17e901e928 Fix: Resizing not working if there are no header or footer. The possible absence of a header and a footer when calculating the height of the container for table rows and rows count is taken into account.
7 years ago
Allan Jardine a0ebc4219e Merge branch 'master' of github.com:DataTables/Plugins
7 years ago
Allan Jardine dbfc595ed3 Fix: JSON stynax error from @AlexHetman - thread 45176
7 years ago
Allan Jardine fa703319b2 Merge pull request #345 from julmot/master
7 years ago
Julian Motz 7dcec0a53a Update datatables.mark.js to v2.0.1
7 years ago
Allan Jardine bcf5296047 Merge branch 'master' of github.com:DataTables/Plugins
7 years ago
Allan Jardine dd92884ce7 Fix: Incorrect example for Turkish sorting plug-in
7 years ago
Allan Jardine 46e6749a06 Adding search pane plug-in. Completely unfinished, but its a start!
7 years ago
Allan Jardine 2eec261258 Merge pull request #344 from DJmRek/master
7 years ago
Markus 6347b04e1e Update German.lang - added select translation
7 years ago
Allan Jardine 4437656353 Merge pull request #328 from JocaPC/master
7 years ago
Allan Jardine fed1a1769b New: Deep linking plug-in for DataTables
7 years ago
Allan Jardine 8a5d3c0477 Merge pull request #339 from reiz/patch-1
8 years ago
Robert Reiz d0ead7c183 Adding license info to the bower.json
8 years ago
Allan Jardine 5e24e68f5b Merge pull request #336 from actorius/patch-1
8 years ago
Vitaliy D 1ad4086c39 Adding support mixed date and string column data
8 years ago
Allan Jardine 79ccf51a60 diacritics-neutralise filter and diacritics-neutralise sorting plug-in
8 years ago
davidkonrad e701a43ad0 fixed copy paste error in file description
8 years ago
davidkonrad 6eb084dfc6 Added diacritics-neutralise filter and diacritics-neutralise sort plug-ins
8 years ago
Allan Jardine 2d638d6d8b any-number & nepali-numbers sorting plugins
8 years ago
Allan Jardine 1f88550e8c Rename Amharic language file to .lang from #241
8 years ago
Allan Jardine b0433f14e6 Merge pull request #241 from veduket/patch-1
8 years ago
Allan Jardine 9618bbfa9f Update date-de sorting from #296 with -Infinity
8 years ago
Allan Jardine 5e45ca16eb Merge pull request #296 from vangoo/master
8 years ago
Allan Jardine 7adf19a579 Bower ignore array
8 years ago
Allan Jardine e625908500 Bower package description file
8 years ago
Allan Jardine aeea1de539 Integration files are now in the repos for the host library
8 years ago
Allan Jardine 300c5a1612 npm package information
8 years ago
Jovan Popovic 1d24f69155 Merge remote-tracking branch 'refs/remotes/DataTables/master'
8 years ago
Allan Jardine b2c89e7575 Feature: Create sliding-child.js
8 years ago
Nick 4c6e7545b2 Update sliding-child.js
8 years ago
Allan Jardine fd7d7ce5b9 Merge pull request #331 from talgautb/patch-1
8 years ago
Talgat Uspanov ef63e9fa47 add kazakh lang
8 years ago
Allan Jardine b71b18303e Merge pull request #330 from Thibault34/patch-1
8 years ago
Thibault34 b51aa60944 Add support dd/mm/YYYY hh:ii
8 years ago
Jovan Popovic d2358df483 Added simple incremental bootsrap pagination
8 years ago
Allan Jardine f333eb31e1 Merge pull request #327 from RedJokingInn/master
8 years ago
Drijkoningen Dirk b324b2dd27 New features and bug fix
8 years ago
Allan Jardine bf2280e6a0 Merge pull request #323 from MFlyer/issue#322
8 years ago
Mirko Arena e324692782
Fixes #322 adding new bytes option for humanize js package
8 years ago
Allan Jardine 415407bec3 Merge pull request #321 from utkuaydin/master
8 years ago
Utku Aydın 96b91a08ec Correct a minor typo in Turkish translation
8 years ago
Allan Jardine 52939233ed Merge pull request #318 from vcvetkovs/master
8 years ago
Viktors Cvetkovs 84fd3b8588 Fixed missing space
8 years ago
Viktors Cvetkovs e0a0e49f95 Added Finnish extension localizations
8 years ago
Viktors Cvetkovs 185ac084d1 Added missing translations + order same as en
8 years ago
Nick 33c4867ef2 Update sliding-child.js
8 years ago
Nick 0edd41aadd Update sliding-child.js
8 years ago
Nick bf6d86d424 Update sliding-child.js
8 years ago
Nick ef6457e3e6 Create sliding-child.js
8 years ago
Allan Jardine 5e328abc48 Merge pull request #314 from alex-ju/master
8 years ago
Alex 8f2c7f5ce4 Update Romanian.lang: diacritics added
8 years ago
Allan Jardine e5763ea110 Merge pull request #313 from koss-lebedev/master
8 years ago
Constantine Lebedev a4b72c315e Add support for dataTables.defaults in conditionalPaging plugin
8 years ago
Allan Jardine 9cfad60781 Merge branch 'master' of github.com:DataTables/Plugins
8 years ago
Allan Jardine 1d042d917c Fix: Better UMD loader, and replacement error
8 years ago
Allan Jardine 2c3d46a81e Merge pull request #310 from hopesala/master
8 years ago
曹城华 7c6bfd5c05 * When dealing with time span elapsed, it is common to append a post fix
8 years ago
曹城华 2e8488b9e4 When dealing with computer file sizes, it is common to append a post fix
8 years ago
Allan Jardine 3ee05a79c9 New: Absolute sorting plug-in
8 years ago
Allan Jardine 644cf31bc1 Merge pull request #309 from radmax/patch-1
8 years ago
radmax 8f9058f6bf add missing extension
8 years ago
Allan Jardine a49ff435f0 Merge pull request #306 from xarubal/master
8 years ago
Xosé Antonio Rubal López c452c3b13d Update Galician translation
8 years ago
Allan Jardine 815ca8e59d Fix ordering: natural sort with case insensitive wasn't working
8 years ago
Allan Jardine 1a0034ed55 i18n: Update Persian.lang
8 years ago
Mohammad Babazadeh b4972e419a Update Persian.lang
8 years ago
Allan Jardine eb8648c099 Ordering: Add case-insensitive options natural sort plugin.
8 years ago
Ryan Johnston ce1d827984 Add case-insensitive options natural sort plugin. Resolves #281
8 years ago
Allan Jardine b76ace2d2e Fix: Natural sorting - numbers with percentage signs to be sorted numerically
8 years ago
Allan Jardine e364a8156d New: Renderer - percentage bars
8 years ago
Drijkoningen Dirk 8057e87a8c percentageBars
8 years ago
Allan Jardine d04435ed7b Merge pull request #297 from aiolos/master
8 years ago
Henri de Jong feb8c18219 Added extra Dutch translations
8 years ago
vangoo 61181430c2 Update date-de.js
8 years ago
Allan Jardine 280402d05e Sorting: Fix mix of tabs and spaces for datetime-moment plug-in
8 years ago
Allan Jardine 0e201c0016 Merge pull request #292 from milestonetg/momentjs-parse-fix
8 years ago
Allan Jardine f55e344856 Merge branch 'master' of github.com:DataTables/Plugins
8 years ago
Allan Jardine 89cc3a6280 Rendering: UMD loader for datetime formatter
8 years ago
Allan Jardine cf2b89baef New: Plug-ins for sorting and rendering using the Javascript Intl APIs
8 years ago
Allan Jardine d9f69f081e Merge pull request #293 from hawk-ip/hawk-ip-patch-fnSetFilteringDelay
8 years ago
Michael Fielding 8932d269b7 Fix fnSetFilteringDelay when filtering disabled
8 years ago
Ethan Lafrenais 25c4434af1 Changed datetime-moment to strip out newline characters and surrounding whitespace
8 years ago
Allan Jardine a7ba2feda5 Sorting: Update `dd.mm.YYYY HH:mm` plug-in to support seconds.
8 years ago
Grex d013737d26 fix to sort with seconds
8 years ago
thomasbuckle-uk 865d1f627c Merge branch 'master' of https://github.com/DataTables/Plugins
8 years ago
thomasbuckle-uk 74d240ca82 Added new plugin for automatic detection of negative currency
8 years ago
Allan Jardine 420be58c05 Merge pull request #288 from vasRK/master
8 years ago
vasRK e44da31b85 added localization for telugu language
8 years ago
Allan Jardine b61bc6bbc1 Merge pull request #287 from mdeniz/add_column_search_highlight
8 years ago
mdeniz 097050f042 Add column search/filtering highlight
8 years ago
Allan Jardine c0a70e20e5 Merge pull request #284 from mbrig-co/master
8 years ago
Muhammad Nasir Rahimi 42bfe89d5c Add Pashto translation
8 years ago
Allan Jardine 6193c68dd5 Fix - features: remove debug from pageResize plug-in
8 years ago
Allan Jardine 0d24e17467 Merge branch 'master' of github.com:DataTables/Plugins
8 years ago
Allan Jardine 54b74c3885 Merge pull request #282 from oporkka/fix-enum-plugin-reserved-word
8 years ago
Oskari Porkka 0ff5d1edde Fix enum plugin to be standard compatible
8 years ago
Allan Jardine 4ef99e1023 Merge pull request #280 from julmot/datatables.mark.js-v2.0.0
8 years ago
Julian Motz 80f8f17cce Added datatables.mark.js v2.0.0
8 years ago
Allan Jardine 785cd1ca46 Fix - sorting: Correct loader name for datetime-moment plug-in
8 years ago
Allan Jardine afef378cf9 Merge pull request #277 from julmot/pagination-input
8 years ago
Julian Motz 0ea57954cd Fix standard input pagination calculation
8 years ago
Allan Jardine 426ebfb4d5 Merge pull request #276 from julmot/master
8 years ago
Julian Motz 438423c537 Added datatables.mark.js v1.0.1
8 years ago
Allan Jardine e6b456981f Merge pull request #274 from afshinm/patch-1
8 years ago
Afshin Mehrabani 5432c83e19 updating the blog link
8 years ago
Allan Jardine 6bd63e9616 Merge pull request #272 from julmot/datatables.mark.js
9 years ago
Julian Motz f4dde48d22 Added datatables.mark.js plugin v1.0.0
9 years ago
Allan Jardine ba06cf106a Merge branch 'master' of github.com:DataTables/Plugins
9 years ago
Allan Jardine f3d0dfb495 New - sorting: Dynamic enum
9 years ago
Allan Jardine 4b80da817a Merge pull request #271 from hyagli/patch-1
9 years ago
Hüseyin Yağlı 428e9349ea Uppercase and Lowercase letters
9 years ago
Allan Jardine 0c4aa3bcee Merge pull request #270 from benbro/Hebrew
9 years ago
benbro 189a51df23 lang: add missing string to the Hebrew translation
9 years ago
benbro 0ed754d083 lang: use camel case in Hebrew translation
9 years ago
Allan Jardine 7bbd26c7b6 Merge pull request #266 from Quwink/patch-1
9 years ago
Quwink 90150efeda dataTables.scrollResize.js
9 years ago
Allan Jardine a4479c3976 Fix - data renderer: Multi-character escaping
9 years ago
Allan Jardine 582f9c9b46 Merge pull request #262 from unicornis/master
9 years ago
aj 6ca577acb0 Renamed Norwegian->Norwegian Bokmal and Added Norwegian Nynorsk translation.
9 years ago
Allan Jardine 9875956e41 Merge pull request #260 from flyingbot/sorting_by_filesize_adding_bibytes
9 years ago
Víctor Sánchez dbd55a006b Added new multipliers in order to include *bibyte units during sorting
9 years ago
Allan Jardine 427969e6d9 Fix - API: `average()` needs an initial value
9 years ago
Allan Jardine 3a2386ee0b Merge pull request #256 from ton212/master
9 years ago
Tonsai Singhkangwan 48c7164484 Fix wrong spelling and change some translation
9 years ago
Allan Jardine f74d344ce5 Fix: Alphabet search needs to strip HTML before finding the first character
9 years ago
Allan Jardine adcf5512f6 Merget branch 'master' of github.com:DataTables/Plugins
9 years ago
Allan Jardine f8ba1e9755 Fix - data renderer: Ellipsis renderer was prematurely cutting off words that would actually fit into the available character count
9 years ago
Allan Jardine baf27cccce Merge pull request #253 from pramen/patch-1
9 years ago
Alexander a51940723b Fix exception when data field is empty
9 years ago
Allan Jardine 83494dc95b Merge pull request #252 from MauriceS/master
9 years ago
Maurice fbfc2f85fc Fix - i18n: Norwegian translation was not valid JSON
9 years ago
Allan Jardine 496194cc96 Merge pull request #198 from mpryvkin/master
9 years ago
Allan Jardine 22776de482 Fix - i18n: Polish translation was not valid JSON
9 years ago
Allan Jardine 50a055c4c3 Merge pull request #249 from Eng-Fouad/patch-1
9 years ago
Eng-Fouad 39c78d8760 Update Arabic.lang
9 years ago
Eng-Fouad afaead727d Update Arabic.lang
9 years ago
Allan Jardine 75026a5f98 Dev: Latest built of the length links feature
9 years ago
davidkonrad d51ab642d1 any-number & nepali-numbers sorting plugins
9 years ago
Allan Jardine d106faa7dd Merge pull request #246 from wesleyer/master
9 years ago
Wesley Ribeiro 9e7942b821 Sorting does not work properly on columns with empty dates inside
9 years ago
Allan Jardine 6bedd3b616 Merge pull request #245 from erdaltaskesen/tr-TR
9 years ago
erdaltaskesen c7639cf67d Update Turkish.lang
9 years ago
Allan Jardine 7ebdbbb506 Merge pull request #242 from brunjick/patch-1
9 years ago
Mirza Brunjadze d1d321a126 Updated Georgian to latest version
9 years ago
Allan Jardine 287dfe21d3 i18n: Update Polish translation - from Michał Grzelak
9 years ago
Allan Jardine 99e25cacfe Fix - API: `sum()` method example had incorrect usage of
9 years ago
Yared Getachew 038d38e1ce Amharic translation for dataTables
9 years ago
Allan Jardine 41cc62dfcb New - Data renderer: Date / time date renderer that uses momentjs
9 years ago
Allan Jardine 8d7e8b6a5a Merge pull request #235 from AnimusMachina/master
9 years ago
Michael Buehler 2318bc51c1 Added @author tag
9 years ago
Michael Buehler a73f4bb70b Use regex for html stripping. Let users choose if they want to strip html or not.
9 years ago
Allan Jardine 0237a053c2 Fix - i18n: Missing comma in Chinese (traditional) translation
9 years ago
Allan Jardine 65902f2618 Merge pull request #236 from jemdev/master
9 years ago
Cyrano 2c70170812 Improve sorting for dates without hours
9 years ago
Michael Buehler ad1126dcdc FIx - removed html from comparison strings
9 years ago
Allan Jardine 1692a8e63c Fix - renderer: Improvements for the ellipsis helper
9 years ago
Allan Jardine d51fc04b42 Renderer: Ellipsis plug-in was overwriting any pre-exisiting renderers!
9 years ago
Allan Jardine 57a3d80321 New - API: `processing()` method
9 years ago
Allan Jardine 2b38ee6606 Fix features - page resize: If the page length is less than 1 don't set it.
9 years ago
Allan Jardine 00d3990a82 i18n: Update Chinese (traditional) file to use camelCase
9 years ago
Allan Jardine f0eda9f187 Merge pull request #233 from vegardoj/patch-1
9 years ago
Vegard O. Johannessen 5109a1efe5 Update Norwegian.lang
9 years ago
Allan Jardine d7f90d2ee4 Merge pull request #230 from Silex/master
9 years ago
Philippe Vaucher e5fcf4496f Fix file-size plugin with string containing spaces
9 years ago
Allan Jardine 1d8f976a88 Merge branch 'master' of github.com:DataTables/Plugins
9 years ago
Allan Jardine c5474aef24 Fix - doc block for Kyrgyz translation
9 years ago
Allan Jardine 9bae300872 New feature: Scroll Resize plugin for DataTables - resize scrolling viewport to fit vertically
9 years ago
Allan Jardine 678fc96786 Merge pull request #227 from Mickey-P/use_a_require-friendly_AMD_name
9 years ago
MickeyP 649a0664cf changed usage to require-friendly amd style
9 years ago
Allan Jardine e5ea38de87 Sorting - fix syntax error in moment plugin
9 years ago
Allan Jardine 0f8ec6f7de Sorting: Update moment date / time to strip HTML tags before checking for empty
9 years ago
Allan Jardine ae1d5043d2 Integration: Add notes that the Bootstrap, Foundation and jQuery UI
9 years ago
Allan Jardine 0a26ea3e86 Fix typo in Ukrainian language file name
9 years ago
Allan Jardine 20c026b54f Merge pull request #223 from PeterDaveHello/patch-1
9 years ago
Peter Dave Hello 107c9023af Update Chinese-traditional.lang
9 years ago
Allan Jardine 97397c27bb New - sorting: IPv6 support from Dominique Fournier (dominiquefournier)
9 years ago
Allan Jardine 5928f6086c Mergte branch 'master' of github.com:DataTables/Plugins
9 years ago
Allan Jardine ff2e0ed6a5 Fix typo - Addresses DataTables/DataTables #687
9 years ago
Allan Jardine f5ed758e0a Merge pull request #220 from GDoronin/feature/input-improvement
9 years ago
Gordey Doronin 26955db524 Missing semicolon added. Additional author added.
9 years ago
Allan Jardine dcef6a187c Merge pull request #222 from larvanitis/patch-2
9 years ago
Leonidas Arvanitis 2164398104 Reinstate original author
9 years ago
Allan Jardine f730a1f837 Merge pull request #144 from larvanitis/patch-1
9 years ago
Leonidas Arvanitis 98d5a9480b Fix and expand Greek translation
9 years ago
Gordey Doronin 59e1a8205e Pagination Input plugin improvements.
9 years ago
Allan Jardine 56322760bc Merge pull request #217 from NomadeLampe/patch-1
9 years ago
NomadeLampe 4f3928616f Update French.lang
9 years ago
Allan Jardine 0b6b128646 Merge pull request #216 from tomascassidy/patch-3
9 years ago
tomascassidy 6b3e0c4609 Fix typo in comments for dataTables.lengthLinks.js
9 years ago
Allan Jardine df68147896 Merge pull request #214 from eveoh/fb-welsh-translation
9 years ago
Marco Krikke 0bbbe5e2cd Added Welsh translation.
9 years ago
Allan Jardine 5ed087e4d1 Merge pull request #213 from afelicioni/patch-1
9 years ago
Alessio Felicioni 142a4c4f30 Update thousands separator for italian
9 years ago
Allan Jardine 92575a49cb Merge pull request #212 from pziewiec/patch-1
9 years ago
pziewiec eb652e13b1 max page after key press
9 years ago
Allan Jardine 4517c14cbb Merge branch 'master' of github.com:DataTables/Plugins
9 years ago
Allan Jardine cf19c412cc Fix - features: Length links wasn't operating correctly with an initial default page length of -1 (all rows)
9 years ago
Allan Jardine ccbbd84c0f Merge pull request #211 from xianzai/master
9 years ago
xianzai 0237135a5e add large file size support and remove whitespace before sorting
9 years ago
Allan Jardine 06611bf42b Merge pull request #209 from tynar/patch-1
9 years ago
tynar 9ea10efad0 Update Kyrgyz.lang
9 years ago
Allan Jardine a6264f3908 Merge pull request #208 from wiraqutra/master
9 years ago
Seigo ISHINO 322d0eeacb Update Japanese
9 years ago
Allan Jardine 737bc82979 Merge pull request #204 from Philzen/patch-2
9 years ago
Philzen c85e9aa169 Removed unused variables and fixed indentation
9 years ago
Michael Ryvkin cffe47b735 Corrected typo
10 years ago
Michael Ryvkin b06298f993 Added reference to the article with an example
10 years ago
Michael Ryvkin e449161458 Added reference to the article with an example
10 years ago
Michael Ryvkin 64b3620e49 Added "Simple Numbers - No Ellipses" pagination plug-in
10 years ago
Michael Ryvkin ccfbab686e Added "Full Numbers - No Ellipses" pagination plug-in
10 years ago
Allan Jardine f204b280e6 Merge branch 'master' of github.com:DataTables/Plugins
10 years ago
Allan Jardine 80cbace15b Fix - integration: PageResize will now operate correctly with x-scrolling in DataTables
10 years ago
Allan Jardine 99912855a0 Merge pull request #196 from Seb33300/patch-1
10 years ago
Sébastien ALFAIATE c1973963f3 Fix example code
10 years ago
Allan Jardine 703cb5c6ec Merge pull request #195 from SamerHalawani/patch-1
10 years ago
Samer Halawani bd90759921 extend special_letters object for all Turkish letters
10 years ago
Allan Jardine f954372e84 Merge pull request #193 from mixtmeta/master
10 years ago
Allan Jardine 0bd223b57d API: Add not to `fnSetFilteringDelay` plug-in that `searchDelay` should be used instead now
10 years ago
unknown 218507a727 Show input pager if pages >= 1 during update
10 years ago
unknown fafaf3f3e8 Show input pager if pages >= 1 during update
10 years ago
Allan Jardine ac2e722f4d Merge branch 'master' of github.com:DataTables/Plugins
10 years ago
Allan Jardine 62a8a38042 Add `ellipsis` data rendering helper to the plug-ins.
10 years ago
Allan Jardine beb0516793 Merge pull request #191 from mjhasbach/#190
10 years ago
Matthew Hasbach 4e80867442 Fixed a bug in which $.isPlainObject(e) would return false in some situations and true in others, causing the associated logic to sometimes be skipped. Switched to a more specific e instanceof $.Event check. Fixes DataTables/Plugins#190
10 years ago
Allan Jardine adc6c63aa1 Build latest changes
10 years ago
Allan Jardine 0ba5145ff8 Features - pageResize: Fix case where the row height is found to be 0
10 years ago
Allan Jardine adb2993996 Feature - pageResize: Fix for Firefox where uses clientHeight to get the height of the inner window
10 years ago
Allan Jardine ed243bc52b Feature - pageResize: Add demo page for quick testing
10 years ago
Allan Jardine 5eae1e87ce Merge pull request #187 from edouardl/master
10 years ago
Edouard Labre 1c8a7bfefb Add row().show().js plugin
10 years ago
Allan Jardine 1a092064d5 Lastest build of Bootstrap integration
10 years ago
Allan Jardine 6708f9c621 Fix tabbing through paging buttons in Bootstrap
10 years ago
Allan Jardine 91902cdb3b Merge pull request #185 from Vaflan/patch-1
10 years ago
Ruslans Jermakovics 42fd2dc4a8 Update Latvian
10 years ago
Allan Jardine d8cf93b924 Fix - i18n: French translation update from "Bastien"
10 years ago
Allan Jardine 62370ad905 Fix - feature: Correct copyright date for pageResize
10 years ago
Allan Jardine bc356081c5 Merge branch 'master' of github.com:DataTables/Plugins
10 years ago
Allan Jardine 93d1cde9c9 Fix - feature: Page resize wasn't working in IE, The blank page was
10 years ago
Allan Jardine 58e78363bd Merge pull request #183 from pstast/update-czech
10 years ago
Petr Šťastný 3ecd3b6e67 Update Czech.lang
10 years ago
Allan Jardine 8fe48e5343 Fix - i18n: Russian language file had a spare colon in `emptyTable`
10 years ago
Allan Jardine 838d8df9c6 Fix - integration: Border width on footer cells was incorrect when using `table-bordered` in Bootstrap
10 years ago
Allan Jardine 91f1cb79ea Dev: Remove old index files - they are no longer used on the
10 years ago
Allan Jardine 11b9c98b0d Dev: Missing `table-condensed` selector in the table-condensed Bootstrap
10 years ago
Allan Jardine 9c2e407535 Rewrite file size sorting and type detection plug-ins to use 1.10 style
10 years ago
Allan Jardine d9cb044f6b Fix - integration: `table-condensed` support for Bootstrap
10 years ago
Allan Jardine 984aa9c54b Update API: `sum()` method will now strip non-numeric data
10 years ago
Allan Jardine cd1c2b8917 Fix integration: Bootstrap sorting icons were shown in FixedColumns body elements
10 years ago
Allan Jardine 4f9d74d609 Fix - Integration: Bootstrap display with TableTools when on small screen devices did not have the TableTools buttons centered while all other DataTables components were
10 years ago
Allan Jardine d1ba8bde45 Fix API plugin: `order.neutral()` didn't fully restore the order correctly
10 years ago
Allan Jardine be28df9f75 Fix - features: Features which listen for the `init.dt` event need to check that the `dt` event namespace has been given.
10 years ago
Allan Jardine dc0e9c7658 New: Add license file to the package for clarity of license (MIT)
10 years ago
Allan Jardine c1bb4bf9b7 Dev: Latest build of jQuery UI CSS
10 years ago
Allan Jardine 2062f8031e Fix #179: Bootstrap table footer section column widths redistributed
10 years ago
Allan Jardine 2039940b7e Fix - integration: Bootstrap 3 input search box width
10 years ago
Allan Jardine bcd71f9d26 Dev: Add header to Nepali file
10 years ago
Allan Jardine dcd6f914f4 New i18n: Add Nepali translation from Bishwo Adhikari
10 years ago
Allan Jardine a75fb2eade Merge pull request #172 from mjhasbach/master
10 years ago
Matthew Hasbach cbad0bd293 Fixed a bug in which the paging controls would fade out after table initialization if the "fade" style was chosen
10 years ago
Matthew Hasbach 6dd3a6c999 Changed occurrences of the term "pagination" to "paging". Renamed plugin to dataTables.conditionalPaging.
10 years ago
Matthew Hasbach 5ba0987f52 Use fadeTo instead of fadeIn / fadeOut and CSS visibility instead of show / hide in order to preserve page layout
10 years ago
Matthew Hasbach 6ada1d0def Changed plugin usage (enabled properties are no longer required)
10 years ago
Matthew Hasbach 4bd060d900 Added conditional pagination plugin
10 years ago
Allan Jardine fdbee7fdf6 Update - sorting: Add HTML stripping support to the moment plugin
10 years ago
Allan Jardine 22fd8b0967 Feature - search highlighting: Improved split of words
10 years ago
Allan Jardine b97abea688 New - API: `order.neutral()` method to use the data load order as the
10 years ago
Allan Jardine 075ec52008 Fix - API: `sum()` method should have a default value
10 years ago
Allan Jardine 10bd484af4 New feature: PageResize feature that will automatically change the page length of a DataTable to fit a container.
10 years ago
Allan Jardine efa0618cbb Dev: Update foundation min file
10 years ago
Allan Jardine e1522933c1 Merge pull request #169 from levonyan/master
10 years ago
levonyan 135f201634 Added translation in Armenian.
10 years ago
levonyan 77371a9c2d Delete Armenian.json
10 years ago
Allan Jardine dc52317df8 Merge pull request #168 from gereltod-g/patch-1
10 years ago
Gereltod 786d6ae500 Update Mongolian.lang
10 years ago
levonyan cc0d7f5385 Update and rename i18n to i18n/Armenian.json
10 years ago
Allan Jardine ed6340ced4 Integration - jQuery: Remove old `color` style for paging buttons. No longer required.
10 years ago
Allan Jardine 4e264050bd Fix - integration: Bootstrap sorting icons were shown twice in a scrolling table
10 years ago
Allan Jardine b2eb8b445a Update - integration: Improved styling for TableTools with Foundation
10 years ago
Allan Jardine dbe9ed3dbf Update - Sorting: Add `-` as a seperator for eu dates
10 years ago
Allan Jardine f2c75b7247 Update - bootstrap integration: Modify the colours of the sorting icons
10 years ago
Allan Jardine c1f5e486e6 Merge branch 'master' of github.com:DataTables/Plugins
10 years ago
Allan Jardine 439460c227 Dev: Update example BS3 integration to use latest Bootstrap
10 years ago
Allan Jardine 96cdbf965b Merge pull request #142 from mweimerskirch/patch-1
10 years ago
Allan Jardine cb2e83e07e Merge pull request #157 from rsareth/master
10 years ago
Allan Jardine 0711ab3bf5 Merge pull request #156 from Batmandakh/patch-1
10 years ago
Rasmey SARETH baf1ab3435 FIX: Considering the milliseconds for ordering
10 years ago
Batmandakh 7e21bad999 Fixed misspelled word - Mongolian.lang
10 years ago
Allan Jardine a6391794be Merge pull request #152 from Batmandakh/patch-1
10 years ago
Batmandakh 7d5e7f4957 Create Mongolian.lang
10 years ago
Allan Jardine 741147810b Integration: jQuery UI stylesheet didn't have the same options as the DataTables main stylesheet
10 years ago
Allan Jardine abbc50179f Search highlight: Add ColReorder support
10 years ago
Allan Jardine 0c67dff78c Dev: Build the latest search highlight changes
10 years ago
Allan Jardine 63021a4209 Search highlighting: Fix for state saving and an initial search term
10 years ago
Allan Jardine 36a239ad12 Merge pull request #149 from ratnayake/master
10 years ago
isuru 2623a5fb96 sinhala langwage translation
10 years ago
Allan Jardine eb06604fdc Sorting: Date time with moment.js - update to accept null and empty values, which are treated as -Infinity
10 years ago
Allan Jardine 140bc935c2 Merge pull request #146 from xabikip/master
10 years ago
xabi 920d67698a Added Basque language
10 years ago
Leonidas Arvanitis eb1bf1c64b Added extra greek forms 'ϊΐϋΰ'
10 years ago
Allan Jardine fbf814d90b Merge pull request #141 from nursultan92/master
10 years ago
nursultan 850356957d sInfoFiltered translated
10 years ago
Michel Weimerskirch 97d5aac828 Bootstrap integration: replace images with font icons
10 years ago
nursultan 7a6f5aedaf Added kyrgyz language support
10 years ago
Allan Jardine ca78bb94c1 Merge pull request #140 from gerson-scanapieco/master
10 years ago
Gerson Scanapieco c6a0463c2f Added new accents to accent-neutralize plugin
10 years ago
Allan Jardine a060a321d2 Merge pull request #139 from easyest/patch-1
10 years ago
easyest 2c613c2196 Added missing entries
10 years ago
Allan Jardine 3cfcc339e8 Merge branch 'master' of github.com:DataTables/Plugins
10 years ago
Allan Jardine 25aa4c8780 New - sorting: "Ultimate" date / time sorting plug-in for DataTables using Moment.JS
10 years ago
Allan Jardine 2144f94f33 Merge pull request #137 from tomascassidy/patch-2
10 years ago
tomascassidy 94ef5c3411 Allow Bootstrap to determine button font size
10 years ago
Allan Jardine 07a93c6e1e Merge branch 'master' of github.com:DataTables/Plugins
10 years ago
Allan Jardine d7f8782eca Dev: Build of search highlight plug-in
10 years ago
Allan Jardine 06d299fda5 Update: Improve image compression - see DataTables/DataTables #470
10 years ago
Allan Jardine 02498dc3cb Merge pull request #133 from aspyatkin/patch-1
10 years ago
Alexander Pyatkin 99793bba2f Update Russian lang file for DataTables >= 1.10
10 years ago
Allan Jardine 484c7b1711 Merge pull request #129 from ZadraDesign/master
10 years ago
Zachary 81e9b70868 Allowing Bootstrap to determine button text color
10 years ago
Allan Jardine 534fe2c159 Merge pull request #128 from jgacuca567/patch-1
10 years ago
jgacuca567 6b976aaedd index.html
10 years ago
Allan Jardine 59560b38a5 Merge pull request #126 from Ang3r/patch-1
10 years ago
Arthur Lutkevichus 629566546a Broken output fix
10 years ago
Allan Jardine 037c891ba8 Fix JSHint warnings
10 years ago
Allan Jardine e1a6d572aa Fix #125 - correct last page calculation
10 years ago
Allan Jardine bf7a8d5a14 Search highlight - multiple work matching
10 years ago
Allan Jardine fc1031d4ff Use standard jQuery reference name
10 years ago
Allan Jardine 9dcbecd42a Doc comment update for feature plug-ins. Closure compiler has special
10 years ago
Allan Jardine 699bd07ad0 Fix: FixedColumns integration with Bootstrap had a 1px alignment issue
10 years ago
Allan Jardine 7de09b4294 Fix: Bootlint picked up that the processing element was a child of a `row` class element.
10 years ago
Allan Jardine 520ad6af73 Remove comment
10 years ago
Allan Jardine 622141cad4 Merge pull request #119 from sotoz/master
10 years ago
sotoz 8ccc98dd9e Added greek vowel support
10 years ago
Allan Jardine 916be03336 Update Bootstrap 2 integration for DataTables 1.10.
10 years ago
Allan Jardine f0f99a7511 Update Bootstrap example to use BS 3.3.0 and latest DT
10 years ago
Allan Jardine 3927fc31a5 Merge branch 'master' of github.com:DataTables/Plugins
10 years ago
Allan Jardine 8d49eb8bd2 Bootstrap 3: Improve integration options for DataTables and Bootstrap 3
10 years ago
Allan Jardine acf707aad6 Merge pull request #118 from SimenB/small_typo
10 years ago
Simen Bekkhus 53c0ff2076 Change an error in a comment
10 years ago
Allan Jardine c989064c4c Merge branch 'master' of github.com:DataTables/Plugins
10 years ago
Allan Jardine b37fb70698 Update lengthLinks to use the 1.10 API
10 years ago
Allan Jardine 55ad4d15b8 Merge pull request #115 from pennstatephil/master
10 years ago
Phil H 01e56c4e0d support short months as well
10 years ago
Allan Jardine 32c6ea6968 Merge pull request #114 from benrwb/patch-1
10 years ago
benrwb 345ef8e62f Return 0 instead of 1, added braces
10 years ago
benrwb 6ccf73dbc5 Handle blank values
10 years ago
Allan Jardine e9da22a1f3 Merge pull request #113 from pennstatephil/master
10 years ago
Phil H 1ab18ffb9b add string month year date sort
10 years ago
Allan Jardine 380cb78f45 Add compressed versions of the feature plug-ins
10 years ago
Allan Jardine 245ab02a1b Update: Add comment as to what is happening in search highlight init
10 years ago
Allan Jardine 649b269068 Merge branch 'master' of github.com:DataTables/Plugins
10 years ago
Allan Jardine 277e773d3d New feature plug-in: Search highlighting - see
10 years ago
Allan Jardine b52756558a Merge pull request #112 from Grogdunn/patch-1
10 years ago
Grogdunn 6d6abc59fb added "ì" neutralization
10 years ago
Allan Jardine f99d15aa1d Fix #111 - Remove reference to background.png. Use just CSS colour and opacity now for the background to a collection
10 years ago
Allan Jardine fbc05c74e8 New time sorting plug-in from David Stoneham
10 years ago
Allan Jardine 9d01843142 Merge branch 'master' of github.com:DataTables/Plugins
10 years ago
Allan Jardine f737a7fd33 Fix #110 - Remove fixed width from input element. Let the browser default decide, or the developer if they provide their own
10 years ago
Allan Jardine bcbc01bf31 Merge pull request #109 from BattleMage/patch-1
10 years ago
BattleMage 8c684c1fc7 Add sorting for dates without time
10 years ago
Allan Jardine 0e8ae17cb1 Fix: Bootstrap sort asc only disabled image looked enabled!
10 years ago
Allan Jardine 2c3231bb7c Fix: Nested tables would cause the parent table to update its sort when a child does its own sorting
10 years ago
Allan Jardine 2ab48fdbc3 New API method: `column().title()` from Alejandro Navarro
10 years ago
Allan Jardine ce10e4342a Merge pull request #104 from Anderezekial/patch-4
10 years ago
Anderezekial 2dd7559d41 Update input.js
10 years ago
Allan Jardine fa5734b290 Update alphabet search to be compatible with DT 1.10.2
10 years ago
Allan Jardine 28d71e3c6f New: Alphabet search from DataTables blog search
10 years ago
Allan Jardine 9ef49645b1 Merge pull request #102 from drastus/master
10 years ago
drastus 2859b427c5 Update Polish.lang
10 years ago
Allan Jardine 6b2ce39715 Merge pull request #99 from gregjopa/pagination-fix
10 years ago
Greg Jopa 24ac62e71d Update bootstrap pagination events to not redraw when button is disabled
10 years ago
Allan Jardine 652b6176d3 Merge pull request #96 from Anderezekial/patch-3
10 years ago
Anderezekial b763e0f162 Update input.js
10 years ago
Allan Jardine 18d5eb1937 Merge pull request #95 from Anderezekial/patch-2
10 years ago
Anderezekial 0393969885 Update input.js
10 years ago
Allan Jardine c2722367bf Merge pull request #84 from quickstep25/master
10 years ago
Allan Jardine db3e9e849f Merge pull request #92 from Anderezekial/patch-1
10 years ago
Anderezekial 4fd76ca82c Update input.js
10 years ago
Allan Jardine b4975f94cb Merge pull request #91 from mdziekon/patch-1
10 years ago
Michal Dziekonski 4decaec7bf TableTools styles shouldn't override default BS styles
10 years ago
Allan Jardine 4fd9d7921a Merge pull request #87 from tomascassidy/patch-1
10 years ago
tomascassidy 0afb986c34 Add margin-left to search input box
10 years ago
Allan Jardine 047ad80309 Merge pull request #85 from yuks/master
10 years ago
Yuksel d91bac01f0 Create turkish-string.js
10 years ago
Yuksel b2d8775a11 Delete turkish-string.js
10 years ago
Yuksel 264f9fd31e Create turkish-string.js
10 years ago
Doug Hill c7a21089a0 wrapped grid class .row around main datatable in DOM options
10 years ago
Allan Jardine 15ba23c72a Merge pull request #82 from vkachurka/master
10 years ago
vkachurka 0ad7602002 Create Belarusian.lang
10 years ago
Allan Jardine 0415b8664c Fix: Bootstrap 3 display for TableTools' info box
10 years ago
Allan Jardine 1d6836cd79 Fix #33 - More selective on link styling
10 years ago
Allan Jardine cb7f4843ef Fix: Franch language for é
10 years ago
Allan Jardine 5f37c86aa1 API - columns().order() plug-in method
10 years ago
Allan Jardine 725b2a2115 Merge branch 'master' of github.com:DataTables/Plugins
10 years ago
Allan Jardine 69fdd73f05 Fix - Integration: FontAwesome with scrolling tables
10 years ago
Allan Jardine 98fbc635a7 Merge pull request #74 from PaitAzani/patch-1
11 years ago
PaitAzani f678e60b0c Update Malay.lang
11 years ago
Allan Jardine 0d022b93e8 Merge branch 'master' of github.com:DataTables/Plugins
11 years ago
Allan Jardine d45d20d4e0 Integration - jQuery UI: Remove !important for text colouring for
11 years ago
Allan Jardine 2fdd031060 Merge pull request #73 from BrunoQuaresma/patch-1
11 years ago
Bruno Quaresma 0cce73da67 Remove oLang propertiy
11 years ago
Allan Jardine f08264584a Merge pull request #72 from Miosss/master
11 years ago
Miosss edfd80a66f Colon possibly causing bugs in IE8 and earliers.
11 years ago
Allan Jardine 61d0ef4d87 Merge branch 'master' of github.com:DataTables/Plugins
11 years ago
Allan Jardine 427ef66304 Updates for the integration files:
11 years ago
Allan Jardine 48930f65dc Dev: Move the jPagination integration into the paging plug-ins
11 years ago
Allan Jardine 9514ff5fe8 Merge pull request #71 from Miosss/newPL_cleanup
11 years ago
Miosss 88915851ec Polish (PL) translation cleanups.
11 years ago
Allan Jardine dd1f8fe61f Merge pull request #70 from Miosss/newPL
11 years ago
Miosss 9b5931582d Added missing Polish (PL) translations.
11 years ago
Allan Jardine bbdf40a29a Fix #66: Correct documentation for page.jumpToData
11 years ago
Allan Jardine 1e1d517aa4 Merge pull request #65 from marciosouzajunior/patch-1
11 years ago
Márcio Souza Júnior 54c261aa84 Update Portuguese-Brasil.lang
11 years ago
Allan Jardine b644af9c80 Fix: average() API plug-in was one short in its data count.
11 years ago
Allan Jardine a6276c14ab Merge pull request #60 from irfanevrens/patch-1
11 years ago
İrfan Evrens 53c5758ecc px is not required.
11 years ago
Allan Jardine be7019ee38 Add MIT license header to the font awesome integraiton file
11 years ago
Allan Jardine e0f9c0574c Merge pull request #59 from SneakyBobito/master
11 years ago
Allan Jardine 4ba768f637 Merge branch 'master' of github.com:DataTables/Plugins
11 years ago
Allan Jardine 08b140443f Integration - Font Awesome
11 years ago
Allan Jardine c0d97b6da7 Bootstrap integration - add processing element information display
11 years ago
Soufiane Ghzal dfe092f57d Cleaning extstyle pagination plugin
11 years ago
Allan Jardine 6caf2feedb Merge pull request #57 from dlugos/master
11 years ago
Ivan Dlugos c6e6366db4 Update Slovak.lang
11 years ago
Allan Jardine 8c797a5854 Fix: Clear button in search box wasn't clearing the filter
11 years ago
Allan Jardine 2ba2b09b52 Fix: #54 - Use year as an integer
11 years ago
Allan Jardine 28e7751dbe Integration - bootstrap: Better support for table-bordered
11 years ago
Allan Jardine 79df6d4423 Merge pull request #53 from althaus/patch-1
11 years ago
Matthias Althaus d3b5fea88f Typo fixed
11 years ago
Allan Jardine 3118a2e340 Update credit for Afrikaans language
11 years ago
Allan Jardine 7301ae19a9 New Afrikaans from "Gill"
11 years ago
Allan Jardine e942118178 Update jQuery UI integration
11 years ago
Allan Jardine 019769d2d2 Merge pull request #49 from Philzen/patch-1
11 years ago
Philzen 3151bae751 Explicit comparison operator for length
11 years ago
Allan Jardine d1d839f623 Sorting: formatted numbers - add note about default value
11 years ago
Allan Jardine cc9859f1f9 Merge pull request #48 from greggg230/patch-1
11 years ago
greggg230 6ca8c837a7 Update datetime-us.js
11 years ago
Allan Jardine 5f255273de jQuery UI integration: TableTools styling
11 years ago
Allan Jardine dd06614889 Rewrite of Portuguese (Brazilian) translation from Julio Cesar Viana Palma
11 years ago
Allan Jardine 11bf5d53e5 Consistent styling for date-eu
11 years ago
Allan Jardine 3707584eb2 Merge pull request #44 from sedovsek/patch-1
11 years ago
Robert Sedovšek 6808532e34 Update date-eu.js
11 years ago
Robert Sedovšek 65832cf856 Bug: Plugin used to break on empty strings.
11 years ago
Allan Jardine ba70c554b1 Merge pull request #43 from Heart1010/patch-1
11 years ago
Heart1010 418593ec83 Update German.lang
11 years ago
Allan Jardine 0c57ab0144 Updated from `Heart1010` to correct German translation
11 years ago
Allan Jardine 807c4bd2fb Update Croatian language file with changes from _hrvoj3e_
11 years ago
Allan Jardine 8755225181 Merge pull request #40 from silence150/master
11 years ago
Josef Ottosson ac2210847b Corrected thousands delimiter for Swedish
11 years ago
Allan Jardine 505bef35b5 Fix: Correct documentation for the fnGetTds 1.10 eqiv. method
11 years ago
Allan Jardine 46bb6b9deb Fix: Add padding to header in bootstrap for the sort icons to go into
11 years ago
Allan Jardine 2cf85d1ccd Update: Update the header renderer for the DataTables 1.10 updated
11 years ago
Allan Jardine f3e99a6c02 Update fnFindCellRowNodes.js and fnFindCellRowIndexes.js to work with
11 years ago
Allan Jardine 40e2d46e03 Typo - deprecated
11 years ago
Allan Jardine 4df671ed24 Update doc comments for new web-site
11 years ago
Allan Jardine 4f29d7fda6 Major update to doc comment formatting for new DataTables web-site
11 years ago
Allan Jardine 0ab60d10ee Remove bootstrap paging - this is performed by the Bootstrap integration
11 years ago
Allan Jardine 02d801764c API: average() and sum() methods for DT1.10
11 years ago
Allan Jardine 1f9595d4a9 Fix #37 - Scrolling tables incorrectly had margin between the component
11 years ago
Allan Jardine faf4f3126f Merge branch 'master' of github.com:DataTables/Plugins
11 years ago
Allan Jardine 34eec35704 Update fnGetHiddenNodes to be compatible with 1.10
11 years ago
Allan Jardine 95ec40f166 Correct fnGetTd name
11 years ago
Allan Jardine fcd3b3cf0d jQuery UI ThemeRoller integration
11 years ago
Allan Jardine 45c45f9b41 Bootstrap + Foundation integraiton update for DataTables 1.10
11 years ago
Allan Jardine 8c95e4ad14 Bootstrap 3 - update renderer to use DT public API for the page change rather
11 years ago
Allan Jardine 7a9d5b573f Bootstrap 3 - Pagination renderer for DataTables 1.10.
11 years ago

@ -0,0 +1 @@
Are you happy for it to be included and distributed under the MIT license? ✔️/❌

1
.gitignore vendored

@ -0,0 +1 @@
node_modules

@ -0,0 +1,12 @@
{
"arrowParens": "avoid",
"breakBeforeElse": true,
"indentChains": true,
"printWidth": 80,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"useTabs": true
}

@ -0,0 +1,3 @@
Please post support requests and questions in the DataTables forums at https://datatables.net/forums. Support requests posted here will be closed. The intention of this request is to allow all questions to be located in a single, searchable, location.
When you post your question in the DataTables forums, please ensure that you include a link to the page showing the issue so it can be debugged.

@ -0,0 +1,20 @@
Copyright (c) 2010-2015 SpryMedia Limited
http://datatables.net
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

@ -1,9 +1,9 @@
DataTables Plugins
==================
This repository contains a collection of plug-ins for the jQuery [DataTables](http://datatables.net) table enhancer. These plug-ins are feature enhancing for the DataTables library, adding extra options to core functionality such as additional sort algorithms, API methods and pagination controls. The plug-ins should not be confused with DataTables "extras" which are more significant software libraries which add additional features to DataTables.
This repository contains a collection of plug-ins for the jQuery [DataTables](http://datatables.net) table enhancer. These plug-ins are feature enhancing for the DataTables library, adding extra options to core functionality such as additional sort algorithms, API methods and pagination controls. The plug-ins should not be confused with DataTables "extensions" which are more significant software libraries which add additional features to DataTables.
This repository holds the following plug-in types for DataTables:
This repository holds the following plug-in types for DataTables (among others):
* Sorting
* Type based
@ -15,7 +15,11 @@ This repository holds the following plug-in types for DataTables:
* Internationalisation translations
* Type detection
* Pagination
* Integration scripts
* Twitter Bootstrap
Each directory has an index.html file which is used to generate the plug-ins documentation on [DataTables.net](http://datatables.net/plug-ins) and describes how plug-ins can be used.
Please refer to the DataTables [plug-in documentation](http://datatables.net/plug-ins) for details on how to use these plug-ins.
## Internationalisation
In the case of i18n Plugins, we ask that you don't create a pull request and instead make use of the [management system](https://datatables.net/plug-ins/i18n/) that we have in place for this on our website. Changes there will be synced up to this repo.

@ -0,0 +1,8 @@
/*! © SpryMedia Ltd - datatables.net/license */
declare module 'datatables.net' {
interface Api<T> {
/** Average the values in a data set. */
average(): Number;
}
}
export {};

@ -0,0 +1,81 @@
/*! © SpryMedia Ltd - datatables.net/license */
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net'], function ( $ ) {
return factory( $, window, document );
} );
}
else if ( typeof exports === 'object' ) {
// CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window === 'undefined') {
module.exports = function (root, $) {
if ( ! root ) {
// CommonJS environments without a window global must pass a
// root. This will give an error otherwise
root = window;
}
if ( ! $ ) {
$ = jq( root );
}
cjsRequires( root, $ );
return factory( $, root, root.document );
};
}
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else {
// Browser
factory( jQuery, window, document );
}
}(function( $, window, document, undefined ) {
'use strict';
var DataTable = $.fn.dataTable;
/**
* It can sometimes be useful to get the average of data in an API result set,
* be it from a column, or a collection of cells. This method provides exactly
* that ability.
*
* @name average()
* @summary Average the values in a data set.
* @author [Allan Jardine](http://sprymedia.co.uk)
* @requires DataTables 1.10+
*
* @returns {Number} Calculated average
*
* @example
* // Average a column
* var table = $('#example').DataTable();
* table.column( 3 ).data().average();
*
* @example
* // Average two cells
* var table = $('#example').DataTable();
* table.cells( 0, [3,4] ).data().average();
*/
DataTable.Api.register('average()', function () {
var data = this.flatten();
var sum = data.reduce(function (a, b) {
return a * 1 + b * 1; // cast values in-case they are strings
}, 0);
return sum / data.length;
});
return DataTable;
}));

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
!function(t){var o,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),r=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"==typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),r(e,n),t(n,0,e.document)}:(r(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.Api.register("average()",function(){var e=this.flatten();return e.reduce(function(e,n){return+e+ +n},0)/e.length}),e});

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;DataTable.Api.register("average()",function(){var e=this.flatten();return e.reduce(function(e,t){return+e+ +t},0)/e.length});export default DataTable;

@ -0,0 +1,40 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from 'jquery';
import DataTable from 'datatables.net';
// Allow reassignment of the $ variable
let $ = jQuery;
/**
* It can sometimes be useful to get the average of data in an API result set,
* be it from a column, or a collection of cells. This method provides exactly
* that ability.
*
* @name average()
* @summary Average the values in a data set.
* @author [Allan Jardine](http://sprymedia.co.uk)
* @requires DataTables 1.10+
*
* @returns {Number} Calculated average
*
* @example
* // Average a column
* var table = $('#example').DataTable();
* table.column( 3 ).data().average();
*
* @example
* // Average two cells
* var table = $('#example').DataTable();
* table.cells( 0, [3,4] ).data().average();
*/
DataTable.Api.register('average()', function () {
var data = this.flatten();
var sum = data.reduce(function (a, b) {
return a * 1 + b * 1; // cast values in-case they are strings
}, 0);
return sum / data.length;
});
export default DataTable;

@ -0,0 +1,12 @@
/*! © SpryMedia Ltd - datatables.net/license */
declare module 'datatables.net' {
interface ApiColumnMethods {
/** Get searchable flag for selected column */
searchable(): boolean;
}
interface ApiColumnsMethods {
/** Get searchable flag for selected columns */
searchable(): Api<boolean>;
}
}
export {};

@ -0,0 +1,76 @@
/*! © SpryMedia Ltd - datatables.net/license */
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net'], function ( $ ) {
return factory( $, window, document );
} );
}
else if ( typeof exports === 'object' ) {
// CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window === 'undefined') {
module.exports = function (root, $) {
if ( ! root ) {
// CommonJS environments without a window global must pass a
// root. This will give an error otherwise
root = window;
}
if ( ! $ ) {
$ = jq( root );
}
cjsRequires( root, $ );
return factory( $, root, root.document );
};
}
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else {
// Browser
factory( jQuery, window, document );
}
}(function( $, window, document, undefined ) {
'use strict';
var DataTable = $.fn.dataTable;
/**
* The plug-in provides a way to determine the searchable state of one or more
* columns, as was configured by the `-init columns.searchable` option.
*
* @name columns().order()
* @summary Apply multi-column ordering through the columns() API method.
* @author [Allan Jardine](http://sprymedia.co.uk)
* @requires DataTables 1.10+
*
* @returns {boolean|DataTables.Api} Searchable flag
*
* @example
* // Get the searchable flag for all columns
* table.columns().searchable().toArray()
*
* @example
* // Get the searchable flag for column index 0
* table.column(0).searchable()
*/
DataTable.Api.registerPlural('columns().searchable()', 'column().searchable()', function (selector, opts) {
return this.iterator('column', function (settings, column) {
return settings.aoColumns[column].bSearchable;
}, 1);
});
return DataTable;
}));

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
!function(t){var o,u;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),u=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"==typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),u(e,n),t(n,0,e.document)}:(u(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.Api.registerPlural("columns().searchable()","column().searchable()",function(e,n){return this.iterator("column",function(e,n){return e.aoColumns[n].bSearchable},1)}),e});

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;DataTable.Api.registerPlural("columns().searchable()","column().searchable()",function(a,e){return this.iterator("column",function(a,e){return a.aoColumns[e].bSearchable},1)});export default DataTable;

@ -0,0 +1,35 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from 'jquery';
import DataTable from 'datatables.net';
// Allow reassignment of the $ variable
let $ = jQuery;
/**
* The plug-in provides a way to determine the searchable state of one or more
* columns, as was configured by the `-init columns.searchable` option.
*
* @name columns().order()
* @summary Apply multi-column ordering through the columns() API method.
* @author [Allan Jardine](http://sprymedia.co.uk)
* @requires DataTables 1.10+
*
* @returns {boolean|DataTables.Api} Searchable flag
*
* @example
* // Get the searchable flag for all columns
* table.columns().searchable().toArray()
*
* @example
* // Get the searchable flag for column index 0
* table.column(0).searchable()
*/
DataTable.Api.registerPlural('columns().searchable()', 'column().searchable()', function (selector, opts) {
return this.iterator('column', function (settings, column) {
return settings.aoColumns[column].bSearchable;
}, 1);
});
export default DataTable;

@ -0,0 +1,8 @@
/*! © Alejandro Navarro - datatables.net/license */
declare module 'datatables.net' {
interface ApiColumnMethods {
/** Get the title of a column */
title(): string;
}
}
export {};

@ -0,0 +1,72 @@
/*! © Alejandro Navarro - datatables.net/license */
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net'], function ( $ ) {
return factory( $, window, document );
} );
}
else if ( typeof exports === 'object' ) {
// CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window === 'undefined') {
module.exports = function (root, $) {
if ( ! root ) {
// CommonJS environments without a window global must pass a
// root. This will give an error otherwise
root = window;
}
if ( ! $ ) {
$ = jq( root );
}
cjsRequires( root, $ );
return factory( $, root, root.document );
};
}
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else {
// Browser
factory( jQuery, window, document );
}
}(function( $, window, document, undefined ) {
'use strict';
var DataTable = $.fn.dataTable;
/**
* This plug-in will read the text from the header cell of a column, returning
* that value.
*
* @name column().title()
* @summary Get the title of a column
* @author Alejandro Navarro
* @requires DataTables 1.10+
*
* @returns {String} Column title
*
* @example
* // Read the title text of column index 3
* var table = $('#example').DataTable();
* table.column( 3 ).title();
*/
DataTable.Api.register('column().title()', function () {
var title = this.header();
return $(title).text().trim();
});
return DataTable;
}));

@ -0,0 +1,2 @@
/*! © Alejandro Navarro - datatables.net/license */
!function(t){var o,i;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),i=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"==typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),i(e,n),t(n,0,e.document)}:(i(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(n,e,t,o){"use strict";var i=n.fn.dataTable;return i.Api.register("column().title()",function(){var e=this.header();return n(e).text().trim()}),i});

@ -0,0 +1,2 @@
/*! © Alejandro Navarro - datatables.net/license */
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;DataTable.Api.register("column().title()",function(){var t=this.header();return $(t).text().trim()});export default DataTable;

@ -0,0 +1,31 @@
/*! © Alejandro Navarro - datatables.net/license */
import jQuery from 'jquery';
import DataTable from 'datatables.net';
// Allow reassignment of the $ variable
let $ = jQuery;
/**
* This plug-in will read the text from the header cell of a column, returning
* that value.
*
* @name column().title()
* @summary Get the title of a column
* @author Alejandro Navarro
* @requires DataTables 1.10+
*
* @returns {String} Column title
*
* @example
* // Read the title text of column index 3
* var table = $('#example').DataTable();
* table.column( 3 ).title();
*/
DataTable.Api.register('column().title()', function () {
var title = this.header();
return $(title).text().trim();
});
export default DataTable;

@ -0,0 +1,8 @@
/*! © SpryMedia Ltd - datatables.net/license */
declare module 'datatables.net' {
interface ApiColumnsMethods {
/** pply multi-column ordering through the columns() */
order(dir: 'asc' | 'desc'): Api<any>;
}
}
export {};

@ -0,0 +1,95 @@
/*! © SpryMedia Ltd - datatables.net/license */
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net'], function ( $ ) {
return factory( $, window, document );
} );
}
else if ( typeof exports === 'object' ) {
// CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window === 'undefined') {
module.exports = function (root, $) {
if ( ! root ) {
// CommonJS environments without a window global must pass a
// root. This will give an error otherwise
root = window;
}
if ( ! $ ) {
$ = jq( root );
}
cjsRequires( root, $ );
return factory( $, root, root.document );
};
}
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else {
// Browser
factory( jQuery, window, document );
}
}(function( $, window, document, undefined ) {
'use strict';
var DataTable = $.fn.dataTable;
/**
* The DataTables core library provides the ability to set the ordering via the
* `dt-api column().order()` method, but there is no plural equivalent. While
* multi-column ordering can be set using `dt-api order()` that method requires
* that column indexes be used.
*
* This plug-in provides the plural `columns().order()` method so you can set
* multi-column ordering, while retaining the benefits of the `dt-api columns()`
* selector options.
*
* @name columns().order()
* @summary Apply multi-column ordering through the columns() API method.
* @author [Allan Jardine](http://sprymedia.co.uk)
* @requires DataTables 1.10+
* @param {string|array} dir The order to apply to the columns selected. This
* can be a string (`asc` or `desc`) which will be applied to all columns,
* or an array (again `asc` or `desc` as the elements in the array) which is
* the same length as the number of columns selected, and will be applied to
* the columns in sequence.
*
* @returns {DataTables.Api} DataTables API instance
*
* @example
* // Apply multi-column sorting with a common direction
* table.columns( [ 1, 2 ] ).order( 'desc' ).draw();
*
* @example
* // Multi-column sorting with individual direction for the columns
* table.columns( [ 1, 2 ] ).order( [ 'desc', 'asc' ] ).draw();
*
* @example
* // Multi-column sorting based on a name selector
* table.columns( [ 'sign_up_date:name', 'user_name:name' ] ).order( 'desc' ).draw();
*/
DataTable.Api.register('columns().order()', function (dir) {
return this.iterator('columns', function (settings, columns) {
var a = [];
for (var i = 0, ien = columns.length; i < ien; i++) {
a.push([columns[i], Array.isArray(dir) ? dir[i] : dir]);
}
new DataTable.Api(settings).order(a);
});
});
return DataTable;
}));

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
!function(t){var r,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(r=require("jquery"),o=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"==typeof window?module.exports=function(e,n){return e=e||window,n=n||r(e),o(e,n),t(n,0,e.document)}:(o(window,r),module.exports=t(r,window,window.document))):t(jQuery,window,document)}(function(e,n,t,r){"use strict";var u=e.fn.dataTable;return u.Api.register("columns().order()",function(i){return this.iterator("columns",function(e,n){for(var t=[],r=0,o=n.length;r<o;r++)t.push([n[r],Array.isArray(i)?i[r]:i]);new u.Api(e).order(t)})}),u});

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;DataTable.Api.register("columns().order()",function(i){return this.iterator("columns",function(r,a){for(var e=[],t=0,o=a.length;t<o;t++)e.push([a[t],Array.isArray(i)?i[t]:i]);new DataTable.Api(r).order(e)})});export default DataTable;

@ -0,0 +1,54 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from 'jquery';
import DataTable from 'datatables.net';
// Allow reassignment of the $ variable
let $ = jQuery;
/**
* The DataTables core library provides the ability to set the ordering via the
* `dt-api column().order()` method, but there is no plural equivalent. While
* multi-column ordering can be set using `dt-api order()` that method requires
* that column indexes be used.
*
* This plug-in provides the plural `columns().order()` method so you can set
* multi-column ordering, while retaining the benefits of the `dt-api columns()`
* selector options.
*
* @name columns().order()
* @summary Apply multi-column ordering through the columns() API method.
* @author [Allan Jardine](http://sprymedia.co.uk)
* @requires DataTables 1.10+
* @param {string|array} dir The order to apply to the columns selected. This
* can be a string (`asc` or `desc`) which will be applied to all columns,
* or an array (again `asc` or `desc` as the elements in the array) which is
* the same length as the number of columns selected, and will be applied to
* the columns in sequence.
*
* @returns {DataTables.Api} DataTables API instance
*
* @example
* // Apply multi-column sorting with a common direction
* table.columns( [ 1, 2 ] ).order( 'desc' ).draw();
*
* @example
* // Multi-column sorting with individual direction for the columns
* table.columns( [ 1, 2 ] ).order( [ 'desc', 'asc' ] ).draw();
*
* @example
* // Multi-column sorting based on a name selector
* table.columns( [ 'sign_up_date:name', 'user_name:name' ] ).order( 'desc' ).draw();
*/
DataTable.Api.register('columns().order()', function (dir) {
return this.iterator('columns', function (settings, columns) {
var a = [];
for (var i = 0, ien = columns.length; i < ien; i++) {
a.push([columns[i], Array.isArray(dir) ? dir[i] : dir]);
}
new DataTable.Api(settings).order(a);
});
});
export default DataTable;

@ -1,55 +0,0 @@
/**
* Add a new row to the table and display it on the screen by jumping the
* pagination to the required location. This function also returns an object
* with the added TR element and it's index in aoData such that you could
* provide an effect (fade for example) to show which row has been added.
* This function is a drop in replacement for fnAddData with one important
* exception, it will only take a 1D array or an object, and not a 2D array
* (i.e. it will not add multiple rows like fnAddData).
* @name fnAddDataAndDisplay
* @anchor fnAddDataAndDisplay
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
* oTable.fnAddDataAndDisplay( [ 1, 2, 3, 4, 5, ... ] );
* } );
*/
$.fn.dataTableExt.oApi.fnAddDataAndDisplay = function ( oSettings, aData )
{
/* Add the data */
var iAdded = this.oApi._fnAddData( oSettings, aData );
var nAdded = oSettings.aoData[ iAdded ].nTr;
/* Need to re-filter and re-sort the table to get positioning correct, not perfect
* as this will actually redraw the table on screen, but the update should be so fast (and
* possibly not alter what is already on display) that the user will not notice
*/
this.oApi._fnReDraw( oSettings );
/* Find it's position in the table */
var iPos = -1;
for( var i=0, iLen=oSettings.aiDisplay.length ; i<iLen ; i++ )
{
if( oSettings.aoData[ oSettings.aiDisplay[i] ].nTr == nAdded )
{
iPos = i;
break;
}
}
/* Get starting point, taking account of paging */
if( iPos >= 0 )
{
oSettings._iDisplayStart = ( Math.floor(i / oSettings._iDisplayLength) ) * oSettings._iDisplayLength;
this.oApi._fnCalculateEnd( oSettings );
}
this.oApi._fnDraw( oSettings );
return {
"nTr": nAdded,
"iPos": iAdded
};
};

@ -1,55 +0,0 @@
/**
* Take a TR element and add it to a DataTables table. Useful for maintaining
* custom classes and other attributes.
* @name fnAddTr
* @anchor fnAddTr
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
*
*/
$.fn.dataTableExt.oApi.fnAddTr = function ( oSettings, nTr, bRedraw ) {
if ( typeof bRedraw == 'undefined' )
{
bRedraw = true;
}
var nTds = nTr.getElementsByTagName('td');
if ( nTds.length != oSettings.aoColumns.length )
{
alert( 'Warning: not adding new TR - columns and TD elements must match' );
return;
}
var aData = [];
var aInvisible = [];
for ( var i=0 ; i<nTds.length ; i++ )
{
aData.push( nTds[i].innerHTML );
if (!oSettings.aoColumns[i].bVisible)
{
aInvisible.push( i );
}
}
/* Add the data and then replace DataTable's generated TR with ours */
var iIndex = this.oApi._fnAddData( oSettings, aData );
nTr._DT_RowIndex = iIndex;
oSettings.aoData[ iIndex ].nTr = nTr;
oSettings.aiDisplay = oSettings.aiDisplayMaster.slice();
// Hidding invisible columns
for ( var i = (aInvisible.length - 1) ; i >= 0 ; i-- )
{
oSettings.aoData[iIndex]._anHidden[ i ] = nTds[aInvisible[i]];
nTr.removeChild( nTds[aInvisible[i]] );
}
// Redraw
if ( bRedraw )
{
this.oApi._fnReDraw( oSettings );
}
};

@ -1,18 +0,0 @@
/**
* When DataTables removes columns from the display (bVisible or
* fnSetColumnVis) it removes these elements from the DOM, effecting the
* index value for the column positions. This function converts the data
* column index (i.e. all columns regardless of visibility) into a visible
* column index.
* @name fnColumnIndexToVisible
* @anchor fnColumnIndexToVisible
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
*
*/
$.fn.dataTableExt.oApi.fnColumnIndexToVisible = function ( oSettings, iMatch )
{
return oSettings.oApi._fnColumnIndexToVisible( oSettings, iMatch );
};

@ -1,18 +0,0 @@
/**
* Update the internal data for a TR element based on what is used in the
* DOM. You will likely want to call fnDraw() after this function.
* @name fnDataUpdate
* @anchor fnDataUpdate
* @author Lior Gerson
*
* @example
*
*/
$.fn.dataTableExt.oApi.fnDataUpdate = function ( oSettings, nRowObject, iRowIndex )
{
$(nRowObject).find("TD").each( function(i) {
var iColIndex = oSettings.oApi._fnVisibleToColumnIndex( oSettings, i );
oSettings.oApi._fnSetCellData( oSettings, iRowIndex, iColIndex, $(this).html() );
} );
};

@ -1,42 +0,0 @@
/**
* Take a TR element and alter the table's paging to show the TR in question.
* @name fnDisplayRow
* @anchor fnDisplayRow
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
* $(document).ready(function() {
* // Display the 21st row in the table
* var oTable = $('#example').dataTable();
* oTable.fnDisplayRow( oTable.fnGetNodes()[20] );
* } );
*/
$.fn.dataTableExt.oApi.fnDisplayRow = function ( oSettings, nRow )
{
// Account for the "display" all case - row is already displayed
if ( oSettings._iDisplayLength == -1 )
{
return;
}
// Find the node in the table
var iPos = -1;
for( var i=0, iLen=oSettings.aiDisplay.length ; i<iLen ; i++ )
{
if( oSettings.aoData[ oSettings.aiDisplay[i] ].nTr == nRow )
{
iPos = i;
break;
}
}
// Alter the start point of the paging display
if( iPos >= 0 )
{
oSettings._iDisplayStart = ( Math.floor(i / oSettings._iDisplayLength) ) * oSettings._iDisplayLength;
this.oApi._fnCalculateEnd( oSettings );
}
this.oApi._fnDraw( oSettings );
};

@ -1,26 +0,0 @@
/**
* Set the point at which DataTables will start it's display of data in the
* table.
* @name fnDisplayStart
* @anchor fnDisplayStart
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
*
*/
$.fn.dataTableExt.oApi.fnDisplayStart = function ( oSettings, iStart, bRedraw )
{
if ( typeof bRedraw == 'undefined' )
{
bRedraw = true;
}
oSettings._iDisplayStart = iStart;
oSettings.oApi._fnCalculateEnd( oSettings );
if ( bRedraw )
{
oSettings.oApi._fnDraw( oSettings );
}
};

@ -1,61 +0,0 @@
/**
* Creates rowspan cells in a column when there are two or more cells in a
* row with the same content, effectively grouping them together visually.
* <b>Note</b> - this plug-in currently only operates correctly with
* <b>server-side processing</b>.
* @name fnFakeRowspan
* @anchor fnFakeRowspan
* @author Fredrik Wendel
*
* @example
* $('#example').dataTable().fnFakeRowspan(3);
*/
$.fn.dataTableExt.oApi.fnFakeRowspan = function ( oSettings, iColumn, bCaseSensitive ) {
/* Fail silently on missing/errorenous parameter data. */
if (isNaN(iColumn)) {
return false;
}
if (iColumn < 0 || iColumn > oSettings.aoColumns.length-1) {
alert ('Invalid column number choosen, must be between 0 and ' + (oSettings.aoColumns.length-1));
return false;
}
var oSettings = oSettings,
iColumn = iColumn,
bCaseSensitive = (typeof(bCaseSensitive) != 'boolean' ? true : bCaseSensitive);
oSettings.aoDrawCallback.push({ "fn": fakeRowspan, "sName": "fnFakeRowspan" });
function fakeRowspan () {
var firstOccurance = null,
value = null,
rowspan = 0;
jQuery.each(oSettings.aoData, function (i, oData) {
var val = oData._aData[iColumn],
cell = oData.nTr.childNodes[iColumn];
/* Use lowercase comparison if not case-sensitive. */
if (!bCaseSensitive) {
val = val.toLowerCase();
}
/* Reset values on new cell data. */
if (val != value) {
value = val;
firstOccurance = cell;
rowspan = 0;
}
if (val == value) {
rowspan++;
}
if (firstOccurance !== null && val == value && rowspan > 1) {
oData.nTr.removeChild(cell);
firstOccurance.rowSpan = rowspan;
}
});
}
return this;
};

@ -1,26 +0,0 @@
/**
* Apply the same filter to all DataTable instances on a particular page. The
* function call exactly matches that used by fnFilter() so regular expression
* and individual column sorting can be used.
* @name fnFilterAll
* @anchor fnFilterAll
* @author <a href="http://www.kmmtiming.se/">Kristoffer Karlström</a>
*
* @example
* $(document).ready(function() {
* var oTable = $(".dataTable").dataTable();
*
* $("#search").keyup( function () {
* // Filter on the column (the index) of this element
* oTable.fnFilterAll(this.value);
* } );
* });
*/
$.fn.dataTableExt.oApi.fnFilterAll = function(oSettings, sInput, iColumn, bRegex, bSmart) {
var settings = $.fn.dataTableSettings;
for ( var i=0 ; i<settings.length ; i++ ) {
settings[i].oInstance.fnFilter( sInput, iColumn, bRegex, bSmart);
}
};

@ -1,46 +0,0 @@
/**
* Remove all filtering that has been applied to a DataTable, be it column
* based filtering or global filtering.
* @name fnFilterClear
* @anchor fnFilterClear
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
*
* // Perform a filter
* oTable.fnFilter('Win');
* oTable.fnFilter('Trident', 0);
*
* // Remove all filtering
* oTable.fnFilterClear();
* } );
*/
$.fn.dataTableExt.oApi.fnFilterClear = function ( oSettings )
{
/* Remove global filter */
oSettings.oPreviousSearch.sSearch = "";
/* Remove the text of the global filter in the input boxes */
if ( typeof oSettings.aanFeatures.f != 'undefined' )
{
var n = oSettings.aanFeatures.f;
for ( var i=0, iLen=n.length ; i<iLen ; i++ )
{
$('input', n[i]).val( '' );
}
}
/* Remove the search text for the column filters - NOTE - if you have input boxes for these
* filters, these will need to be reset
*/
for ( var i=0, iLen=oSettings.aoPreSearchCols.length ; i<iLen ; i++ )
{
oSettings.aoPreSearchCols[i].sSearch = "";
}
/* Redraw */
oSettings.oApi._fnReDraw( oSettings );
};

@ -1,31 +0,0 @@
/**
* This plug-in removed the default behaviour of DataTables to filter on each
* keypress, and replaces with it the requirement to press the enter key to
* perform the filter.
* @name fnFilterOnReturn
* @anchor fnFilterOnReturn
* @author <a href="http://www.mvccms.com/">Jon Ranes</a>
*
* @example
* $(document).ready(function() {
* $('.dataTable').dataTable().fnFilterOnReturn();
* } );
*/
jQuery.fn.dataTableExt.oApi.fnFilterOnReturn = function (oSettings) {
var _that = this;
this.each(function (i) {
$.fn.dataTableExt.iApiIndex = i;
var $this = this;
var anControl = $('input', _that.fnSettings().aanFeatures.f);
anControl.unbind('keyup').bind('keypress', function (e) {
if (e.which == 13) {
$.fn.dataTableExt.iApiIndex = i;
_that.fnFilter(anControl.val());
}
});
return this;
});
return this;
};

@ -1,48 +0,0 @@
/**
* Search through a table looking for a given string (optionally the search
* can be restricted to a single column). The return value is an array with
* the data indexes (from DataTables' internal data store) for any rows which
* match.
* @name fnFindCellRowIndexes
* @anchor fnFindCellRowIndexes
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
*
* var a = oTable.fnFindCellRowIndexes( '1.7' ); // Search all columns
*
* var b = oTable.fnFindCellRowIndexes( '1.7', 3 ); // Search only column 3
* } );
*/
$.fn.dataTableExt.oApi.fnFindCellRowIndexes = function ( oSettings, sSearch, iColumn )
{
var
i,iLen, j, jLen,
aOut = [], aData;
for ( i=0, iLen=oSettings.aoData.length ; i<iLen ; i++ )
{
aData = oSettings.aoData[i]._aData;
if ( typeof iColumn == 'undefined' )
{
for ( j=0, jLen=aData.length ; j<jLen ; j++ )
{
if ( aData[j] == sSearch )
{
aOut.push( i );
}
}
}
else if ( aData[iColumn] == sSearch )
{
aOut.push( i );
}
}
return aOut;
};

@ -1,47 +0,0 @@
/**
* Much like fnFindCellRowIndexes this plug-in will search a table for
* matching data (optionally the search can be restricted to a single column),
* but in this case the returned array contains TR nodes of the matching rows,
* rather than data indexes.
* @name fnFindCellRowNodes
* @anchor fnFindCellRowNodes
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
*
* var a = oTable.fnFindCellRowNodes( '1.7' ); // Search all columns
*
* var b = oTable.fnFindCellRowNodes( '1.7', 3 ); // Search only column 3
* } );
*/
$.fn.dataTableExt.oApi.fnFindCellRowNodes = function ( oSettings, sSearch, iColumn )
{
var
i,iLen, j, jLen,
aOut = [], aData;
for ( i=0, iLen=oSettings.aoData.length ; i<iLen ; i++ )
{
aData = oSettings.aoData[i]._aData;
if ( typeof iColumn == 'undefined' )
{
for ( j=0, jLen=aData.length ; j<jLen ; j++ )
{
if ( aData[j] == sSearch )
{
aOut.push( oSettings.aoData[i].nTr );
}
}
}
else if ( aData[iColumn] == sSearch )
{
aOut.push( oSettings.aoData[i].nTr );
}
}
return aOut;
};

@ -1,48 +0,0 @@
/**
* Due to the fact that DataTables moves DOM elements around (mainly TR
* elements for sorting and filtering) it can at times be a little tricky
* to get the next row based on another, while taking into account pagination,
* filtering, sorting etc. This function is designed to address exactly this
* situation. It takes two parameters, the target node, and a boolean
* indicating if the adjacent row retrieved should be the next (true, or no
* value) or the previous (false).
* @name fnGetAdjacentTr
* @anchor fnGetAdjacentTr
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
*
* var n1 = $('#example tbody tr:eq(2)')[0];
* var nNext = oTable.fnGetAdjacentTr( n1 );
* var nPrev = oTable.fnGetAdjacentTr( n1, false );
* } );
*/
$.fn.dataTableExt.oApi.fnGetAdjacentTr = function ( oSettings, nTr, bNext )
{
/* Find the node's position in the aoData store */
var iCurrent = oSettings.oApi._fnNodeToDataIndex( oSettings, nTr );
/* Convert that to a position in the display array */
var iDisplayIndex = $.inArray( iCurrent, oSettings.aiDisplay );
if ( iDisplayIndex == -1 )
{
/* Not in the current display */
return null;
}
/* Move along the display array as needed */
iDisplayIndex += (typeof bNext=='undefined' || bNext) ? 1 : -1;
/* Check that it within bounds */
if ( iDisplayIndex < 0 || iDisplayIndex >= oSettings.aiDisplay.length )
{
/* There is no next/previous element */
return null;
}
/* Return the target node from the aoData store */
return oSettings.aoData[ oSettings.aiDisplay[ iDisplayIndex ] ].nTr;
};

@ -1,51 +0,0 @@
/**
* Return an array of table values from a particular column, with various
* filtering options.
* @name fnGetColumnData
* @anchor fnGetColumnData
* @author <a href="http://mind2.de">Benedikt Forchhammer</a>
*
* @example
*
*/
jQuery.fn.dataTableExt.oApi.fnGetColumnData = function ( oSettings, iColumn, bUnique, bFiltered, bIgnoreEmpty ) {
// check that we have a column id
if ( typeof iColumn == "undefined" ) return [];
// by default we only wany unique data
if ( typeof bUnique == "undefined" ) bUnique = true;
// by default we do want to only look at filtered data
if ( typeof bFiltered == "undefined" ) bFiltered = true;
// by default we do not wany to include empty values
if ( typeof bIgnoreEmpty == "undefined" ) bIgnoreEmpty = true;
// list of rows which we're going to loop through
var aiRows;
// use only filtered rows
if (bFiltered == true) aiRows = oSettings.aiDisplay;
// use all rows
else aiRows = oSettings.aiDisplayMaster; // all row numbers
// set up data array
var asResultData = new Array();
for (var i=0,c=aiRows.length; i<c; i++) {
iRow = aiRows[i];
var sValue = this.fnGetData(iRow, iColumn);
// ignore empty values?
if (bIgnoreEmpty == true && sValue.length == 0) continue;
// ignore unique values?
else if (bUnique == true && jQuery.inArray(sValue, asResultData) > -1) continue;
// else push the value onto the result data array
else asResultData.push(sValue);
}
return asResultData;
};

@ -1,26 +0,0 @@
/**
* Maintenance of web-sites can often cause unexpected headaches, particularly
* if the hardcoded index of an array (the columns in a DataTables instance)
* needs to change due to an added or removed column. This plug-in function
* will match a given string to the title of a column in the table and return
* the column index, helping to overcome this problem.
* @name fnGetColumnIndex
* @anchor fnGetColumnIndex
* @author <a href="http://www.rosstechassociates.com/">Michael Ross</a>
*
* @example
*
*/
$.fn.dataTableExt.oApi.fnGetColumnIndex = function ( oSettings, sCol )
{
var cols = oSettings.aoColumns;
for ( var x=0, xLen=cols.length ; x<xLen ; x++ )
{
if ( cols[x].sTitle.toLowerCase() == sCol.toLowerCase() )
{
return x;
};
}
return -1;
};

@ -1,27 +0,0 @@
/**
* Get a list of all TR nodes in the table which are not currently visible
* (useful for building forms).
* @name fnGetHiddenNodes
* @anchor fnGetHiddenNodes
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*/
$.fn.dataTableExt.oApi.fnGetHiddenNodes = function ( oSettings )
{
/* Note the use of a DataTables 'private' function thought the 'oApi' object */
var anNodes = this.oApi._fnGetTrNodes( oSettings );
var anDisplay = $('tbody tr', oSettings.nTable);
/* Remove nodes which are being displayed */
for ( var i=0 ; i<anDisplay.length ; i++ )
{
var iIndex = jQuery.inArray( anDisplay[i], anNodes );
if ( iIndex != -1 )
{
anNodes.splice( iIndex, 1 );
}
}
/* Fire back the array to the caller */
return anNodes;
};

@ -1,47 +0,0 @@
/**
* Get a TD node from a row, taking into account column visibility. While
* getting a TD node is easy when it is visible on the page by using normal
* DOM methods, jQuery or whatever, it becomes a lot more complicated when
* taking into account hidden rows and columns. This function can be used to
* overcome these difficulties.
* @name fnColumnIndexToVisible
* @anchor fnColumnIndexToVisible
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
*
* // Sort in the order that was origially in the HTML
* var nTd = oTable.fnGetTd( $('#example tbody tr:eq(1)')[0], 1 );
* console.log( nTd );
* } );
*/
$.fn.dataTableExt.oApi.fnGetTd = function ( oSettings, mTr, iTd, bVisOnly )
{
/* Take either a TR node or aoData index as the mTr property */
var iRow = (typeof mTr == 'object') ?
oSettings.oApi._fnNodeToDataIndex(oSettings, mTr) : mTr;
if ( typeof bVisOnly == 'undefined' && !bVisOnly )
{
/* Looking at both visible and hidden TD elements - convert to visible index, if not present
* then it must be hidden. Return as appropriate
*/
var iCalcVis = oSettings.oApi._fnColumnIndexToVisible( oSettings, iTd );
if ( iCalcVis !== null )
{
return oSettings.aoData[ iRow ].nTr.getElementsByTagName('td')[ iCalcVis ];
}
else
{
return oSettings.aoData[ iRow ]._anHidden[ iTd ];
}
}
else
{
/* Only looking at visible TD elements, so just use getElements... */
return oSettings.aoData[ iRow ].nTr.getElementsByTagName('td')[ iTd ];
}
};

@ -1,55 +0,0 @@
/**
* Get an array of TD nodes from DataTables for a given row, including any
* column elements which are hidden.
* @name fnGetTds
* @anchor fnGetTds
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
*
* // Sort in the order that was origially in the HTML
* var anTds = oTable.fnGetTds( $('#example tbody tr:eq(1)')[0] );
* console.log( anTds );
* } );
*/
$.fn.dataTableExt.oApi.fnGetTds = function ( oSettings, mTr )
{
var anTds = [];
var anVisibleTds = [];
var iCorrector = 0;
var nTd, iColumn, iColumns;
/* Take either a TR node or aoData index as the mTr property */
var iRow = (typeof mTr == 'object') ?
oSettings.oApi._fnNodeToDataIndex(oSettings, mTr) : mTr;
var nTr = oSettings.aoData[iRow].nTr;
/* Get an array of the visible TD elements */
for ( iColumn=0, iColumns=nTr.childNodes.length ; iColumn<iColumns ; iColumn++ )
{
nTd = nTr.childNodes[iColumn];
if ( nTd.nodeName.toUpperCase() == "TD" )
{
anVisibleTds.push( nTd );
}
}
/* Construct and array of the combined elements */
for ( iColumn=0, iColumns=oSettings.aoColumns.length ; iColumn<iColumns ; iColumn++ )
{
if ( oSettings.aoColumns[iColumn].bVisible )
{
anTds.push( anVisibleTds[iColumn-iCorrector] );
}
else
{
anTds.push( oSettings.aoData[iRow]._anHidden[iColumn] );
iCorrector++;
}
}
return anTds;
};

@ -1,41 +0,0 @@
/**
* Change the number of records that can be viewed on a single page in
* DataTables.
* @name fnLengthChange
* @anchor fnLengthChange
* @author <a href="http://www.webdetails.pt/">Pedro Alves</a>
*
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
* oTable.fnLengthChange( 100 );
* } );
*/
$.fn.dataTableExt.oApi.fnLengthChange = function ( oSettings, iDisplay )
{
oSettings._iDisplayLength = iDisplay;
oSettings.oApi._fnCalculateEnd( oSettings );
/* If we have space to show extra rows (backing up from the end point - then do so */
if ( oSettings._iDisplayEnd == oSettings.aiDisplay.length )
{
oSettings._iDisplayStart = oSettings._iDisplayEnd - oSettings._iDisplayLength;
if ( oSettings._iDisplayStart < 0 )
{
oSettings._iDisplayStart = 0;
}
}
if ( oSettings._iDisplayLength == -1 )
{
oSettings._iDisplayStart = 0;
}
oSettings.oApi._fnDraw( oSettings );
if ( oSettings.aanFeatures.l )
{
$('select', oSettings.aanFeatures.l).val( iDisplay );
}
};

@ -1,43 +0,0 @@
/**
* This plug-in adds to DataTables the ability to set multiple column
* filtering terms in a single call (particularly useful if using server-side
* processing). Used in combination with the column sName parameter, simply
* pass in an object with the key/value pair being the column you wish to
* search on, and the value you wish to search for.
* @name fnMultiFilter
* @anchor fnMultiFilter
* @author <i>mrkevans</i>
*
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable( {
* "aoColumns": [
* { "sName": "engine" },
* { "sName": "browser" },
* { "sName": "platform" },
* { "sName": "version" },
* { "sName": "grade" }
* ]
* } );
* oTable.fnMultiFilter( { "engine": "Gecko", "browser": "Cam" } );
* } );
*/
$.fn.dataTableExt.oApi.fnMultiFilter = function( oSettings, oData ) {
for ( var key in oData )
{
if ( oData.hasOwnProperty(key) )
{
for ( var i=0, iLen=oSettings.aoColumns.length ; i<iLen ; i++ )
{
if( oSettings.aoColumns[i].sName == key )
{
/* Add single column filter */
oSettings.aoPreSearchCols[ i ].sSearch = oData[key];
break;
}
}
}
}
this.oApi._fnReDraw( oSettings );
};

@ -1,32 +0,0 @@
/**
* Get information about the paging settings that DataTables is currently
* using to display each page, including the number of records shown, start
* and end points in the data set etc.
* @name fnPagingInfo
* @anchor fnPagingInfo
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
* $(document).ready(function() {
* $('#example').dataTable( {
* "fnDrawCallback": function () {
* alert( 'Now on page'+ this.fnPagingInfo().iPage );
* }
* } );
* } );
*/
$.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings )
{
return {
"iStart": oSettings._iDisplayStart,
"iEnd": oSettings.fnDisplayEnd(),
"iLength": oSettings._iDisplayLength,
"iTotal": oSettings.fnRecordsTotal(),
"iFilteredTotal": oSettings.fnRecordsDisplay(),
"iPage": oSettings._iDisplayLength === -1 ?
0 : Math.ceil( oSettings._iDisplayStart / oSettings._iDisplayLength ),
"iTotalPages": oSettings._iDisplayLength === -1 ?
0 : Math.ceil( oSettings.fnRecordsDisplay() / oSettings._iDisplayLength )
};
};

@ -1,22 +0,0 @@
/**
* When doing some heavy processing of your own (for example using fnOpen with
* data loading from the server) it can be useful to make use of the
* 'processing' indicator built-into DataTables. This plug-in function
* exposes the internal DataTables function so it can be used for exactly this.
* @name fnProcessingIndicator
* @anchor fnProcessingIndicator
* @author Allan Chappell
*
* @example
* oTable.fnProcessingIndicator(); // On
* oTable.fnProcessingIndicator(false); // Off
*/
jQuery.fn.dataTableExt.oApi.fnProcessingIndicator = function ( oSettings, onoff )
{
if( typeof(onoff) == 'undefined' )
{
onoff=true;
}
this.oApi._fnProcessingDisplay( oSettings, onoff );
};

@ -1,84 +0,0 @@
/**
* By default DataTables only uses the sAjaxSource variable at initialisation
* time, however it can be useful to re-read an Ajax source and have the table
* update. Typically you would need to use the fnClearTable() and fnAddData()
* functions, however this wraps it all up in a single function call.
* @name fnReloadAjax
* @anchor fnReloadAjax
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
* // Example call to load a new file
* oTable.fnReloadAjax( 'media/examples_support/json_source2.txt' );
*
* // Example call to reload from original file
* oTable.fnReloadAjax();
*/
$.fn.dataTableExt.oApi.fnReloadAjax = function ( oSettings, sNewSource, fnCallback, bStandingRedraw )
{
// DataTables 1.10 compatibility - if 1.10 then `versionCheck` exists.
// 1.10's API has ajax reloading built in, so we use those abilities
// directly.
if ( $.fn.dataTable.versionCheck ) {
var api = new $.fn.dataTable.Api( oSettings );
if ( sNewSource ) {
api.ajax.url( sNewSource ).load( fnCallback, !bStandingRedraw );
}
else {
api.ajax.reload( fnCallback, !bStandingRedraw );
}
return;
}
if ( sNewSource !== undefined && sNewSource !== null ) {
oSettings.sAjaxSource = sNewSource;
}
// Server-side processing should just call fnDraw
if ( oSettings.oFeatures.bServerSide ) {
this.fnDraw();
return;
}
this.oApi._fnProcessingDisplay( oSettings, true );
var that = this;
var iStart = oSettings._iDisplayStart;
var aData = [];
this.oApi._fnServerParams( oSettings, aData );
oSettings.fnServerData.call( oSettings.oInstance, oSettings.sAjaxSource, aData, function(json) {
/* Clear the old information from the table */
that.oApi._fnClearTable( oSettings );
/* Got the data - add it to the table */
var aData = (oSettings.sAjaxDataProp !== "") ?
that.oApi._fnGetObjectDataFn( oSettings.sAjaxDataProp )( json ) : json;
for ( var i=0 ; i<aData.length ; i++ )
{
that.oApi._fnAddData( oSettings, aData[i] );
}
oSettings.aiDisplay = oSettings.aiDisplayMaster.slice();
that.fnDraw();
if ( bStandingRedraw === true )
{
oSettings._iDisplayStart = iStart;
that.oApi._fnCalculateEnd( oSettings );
that.fnDraw( false );
}
that.oApi._fnProcessingDisplay( oSettings, false );
/* Callback user function - for event handlers etc */
if ( typeof fnCallback == 'function' && fnCallback !== null )
{
fnCallback( oSettings );
}
}, oSettings );
};

@ -1,45 +0,0 @@
/**
* Enables filtration delay for keeping the browser more responsive while
* searching for a longer keyword.
* @name fnSetFilteringDelay
* @anchor fnSetFilteringDelay
* @author <a href="http://www.zygimantas.com/">Zygimantas Berziunas</a>, <a href="http://www.sprymedia.co.uk/">Allan Jardine</a> and <i>vex</i>
*
* @example
* $(document).ready(function() {
* $('.dataTable').dataTable().fnSetFilteringDelay();
* } );
*/
jQuery.fn.dataTableExt.oApi.fnSetFilteringDelay = function ( oSettings, iDelay ) {
var _that = this;
if ( iDelay === undefined ) {
iDelay = 250;
}
this.each( function ( i ) {
$.fn.dataTableExt.iApiIndex = i;
var
$this = this,
oTimerId = null,
sPreviousSearch = null,
anControl = $( 'input', _that.fnSettings().aanFeatures.f );
anControl.unbind( 'keyup' ).bind( 'keyup', function() {
var $$this = $this;
if (sPreviousSearch === null || sPreviousSearch != anControl.val()) {
window.clearTimeout(oTimerId);
sPreviousSearch = anControl.val();
oTimerId = window.setTimeout(function() {
$.fn.dataTableExt.iApiIndex = i;
_that.fnFilter( anControl.val() );
}, iDelay);
}
});
return this;
} );
return this;
};

@ -1,36 +0,0 @@
/**
* This function will restore the order in which data was read into a
* DataTable (for example from an HTML source). Although you can set
* aaSorting to be an empty array ([ ]) in order to prevent sorting during
* initialisation, it can sometimes be useful to restore the original order
* after sorting has already occurred - which is exactly what this function
* does.
* @name fnSortNeutral
* @anchor fnSortNeutral
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
* $(document).ready(function() {
* var oTable = $('#example').dataTable();
*
* // Sort in the order that was originally in the HTML
* oTable.fnSortNeutral();
* } );
*/
$.fn.dataTableExt.oApi.fnSortNeutral = function ( oSettings )
{
/* Remove any current sorting */
oSettings.aaSorting = [];
/* Sort display arrays so we get them in numerical order */
oSettings.aiDisplay.sort( function (x,y) {
return x-y;
} );
oSettings.aiDisplayMaster.sort( function (x,y) {
return x-y;
} );
/* Redraw */
oSettings.oApi._fnReDraw( oSettings );
};

@ -1,28 +0,0 @@
/**
* Redraw the table (i.e. fnDraw) to take account of sorting and filtering,
* but retain the current pagination settings.
* @name fnStandingRedraw
* @anchor fnStandingRedraw
* @author Jonathan Hoguet
*
* @example
* $(document).ready(function() {
* var oTable = $('.dataTable').dataTable()
* oTable.fnStandingRedraw();
* } );
*/
$.fn.dataTableExt.oApi.fnStandingRedraw = function(oSettings) {
if(oSettings.oFeatures.bServerSide === false){
var before = oSettings._iDisplayStart;
oSettings.oApi._fnReDraw(oSettings);
// iDisplayStart has been reset to zero - so lets change it back
oSettings._iDisplayStart = before;
oSettings.oApi._fnCalculateEnd(oSettings);
}
// draw the 'current' page
oSettings.oApi._fnDraw(oSettings);
};

@ -1,17 +0,0 @@
/**
* When DataTables removes columns from the display (bVisible or
* fnSetColumnVis) it removes these elements from the DOM, effecting the index
* value for the column positions. This function converts the visible column
* index into a data column index (i.e. all columns regardless of visibility).
* @name fnVisibleToColumnIndex
* @anchor fnVisibleToColumnIndex
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
*
*/
$.fn.dataTableExt.oApi.fnVisibleToColumnIndex = function ( oSettings, iMatch )
{
return oSettings.oApi._fnVisibleToColumnIndex( oSettings, iMatch );
};

@ -1,36 +0,0 @@
<h2>Custom API functions</h2>
<p>One of the most common interactions with DataTables for a developer (other than initialisation of the table of course!) is to make use of the <a href="/api">API functions</a> provided by DataTables. While allowing for a fairly extensive range of code interactions, the default API set can be greatly enhanced by making use of the functions provided below, as suitable for your application.</p>
<ul>
<li><a href="#how_to">How to use DataTables plug-in API functions</a></li>
<li><a href="#functions">Plug-in API functions</a></li>
</ul>
<a name="how_to"></a>
<h3>How to use DataTables plug-in API functions</h3>
<p>To make use of one of the plug-in API functions below, you simply need to include it in the Javascript available for your page, after you load the DataTables library, but before you initialise the DataTable. After that, you will be able to initialise the table, and call the function on the resulting object. As an example the code below makes use of <a href="#fnGetHiddenNodes">fnGetHiddenNodes</a> saved into a file (<a href="/examples/plug-ins/plugin_api.html">live example</a>):</p>
<pre class="brush: html">&lt;script type="text/javascript" src="jquery.dataTables.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="dataTables.fnGetHiddenNodes.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
$(document).ready(function() {
var oTable = $('#example').dataTable();
$('#button').click( function () {
var nHidden = oTable.fnGetHiddenNodes();
alert( nHidden.length +' nodes were returned' );
} );
} );
&lt;/script&gt;
</pre>
<p>Please note that DataTables will automatically pass the settings object as the first parameter. As such, you do not need to pass the settings object, which you will see if you look at the plug-in API's code.</p>
<a name="functions"></a>
<h3>Plug-in API functions</h3>
include(`build.1.inc')

@ -0,0 +1,8 @@
/*! © SpryMedia Ltd - datatables.net/license */
declare module 'datatables.net' {
interface ApiOrder {
/** Change ordering of the table to its data load order */
neutral(): Api<any>;
}
}
export {};

@ -0,0 +1,84 @@
/*! © SpryMedia Ltd - datatables.net/license */
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net'], function ( $ ) {
return factory( $, window, document );
} );
}
else if ( typeof exports === 'object' ) {
// CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window === 'undefined') {
module.exports = function (root, $) {
if ( ! root ) {
// CommonJS environments without a window global must pass a
// root. This will give an error otherwise
root = window;
}
if ( ! $ ) {
$ = jq( root );
}
cjsRequires( root, $ );
return factory( $, root, root.document );
};
}
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else {
// Browser
factory( jQuery, window, document );
}
}(function( $, window, document, undefined ) {
'use strict';
var DataTable = $.fn.dataTable;
/**
* This function will restore the order in which data was read into a DataTable
* (for example from an HTML source). Although you can set `dt-api order()` to
* be an empty array (`[]`) in order to prevent sorting during initialisation,
* it can sometimes be useful to restore the original order after sorting has
* already occurred - which is exactly what this function does.
*
* Please note that this plug-in can only be used for client-side processing
* tables (i.e. without `serverSide: true`).
*
* @name order.neutral()
* @summary Change ordering of the table to its data load order
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
*
* @returns {DataTables.Api} DataTables API instance
*
* @example
* // Return table to the loaded data order
* table.order.neutral().draw();
*/
DataTable.Api.register('order.neutral()', function () {
return this.iterator('table', function (s) {
s.aaSorting.length = 0;
s.aiDisplay.sort(function (a, b) {
return a - b;
});
s.aiDisplayMaster.sort(function (a, b) {
return a - b;
});
});
});
return DataTable;
}));

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
!function(t){var o,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),r=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"==typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),r(e,n),t(n,0,e.document)}:(r(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.Api.register("order.neutral()",function(){return this.iterator("table",function(e){e.aaSorting.length=0,e.aiDisplay.sort(function(e,n){return e-n}),e.aiDisplayMaster.sort(function(e,n){return e-n})})}),e});

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;DataTable.Api.register("order.neutral()",function(){return this.iterator("table",function(t){t.aaSorting.length=0,t.aiDisplay.sort(function(t,r){return t-r}),t.aiDisplayMaster.sort(function(t,r){return t-r})})});export default DataTable;

@ -0,0 +1,43 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from 'jquery';
import DataTable from 'datatables.net';
// Allow reassignment of the $ variable
let $ = jQuery;
/**
* This function will restore the order in which data was read into a DataTable
* (for example from an HTML source). Although you can set `dt-api order()` to
* be an empty array (`[]`) in order to prevent sorting during initialisation,
* it can sometimes be useful to restore the original order after sorting has
* already occurred - which is exactly what this function does.
*
* Please note that this plug-in can only be used for client-side processing
* tables (i.e. without `serverSide: true`).
*
* @name order.neutral()
* @summary Change ordering of the table to its data load order
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
*
* @returns {DataTables.Api} DataTables API instance
*
* @example
* // Return table to the loaded data order
* table.order.neutral().draw();
*/
DataTable.Api.register('order.neutral()', function () {
return this.iterator('table', function (s) {
s.aaSorting.length = 0;
s.aiDisplay.sort(function (a, b) {
return a - b;
});
s.aiDisplayMaster.sort(function (a, b) {
return a - b;
});
});
});
export default DataTable;

@ -0,0 +1,8 @@
/*! © SpryMedia Ltd - datatables.net/license */
declare module 'datatables.net' {
interface ApiPage {
/** Change ordering of the table to its data load order */
jumpToData(data: any): Api<any>;
}
}
export {};

@ -0,0 +1,87 @@
/*! © SpryMedia Ltd - datatables.net/license */
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net'], function ( $ ) {
return factory( $, window, document );
} );
}
else if ( typeof exports === 'object' ) {
// CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window === 'undefined') {
module.exports = function (root, $) {
if ( ! root ) {
// CommonJS environments without a window global must pass a
// root. This will give an error otherwise
root = window;
}
if ( ! $ ) {
$ = jq( root );
}
cjsRequires( root, $ );
return factory( $, root, root.document );
};
}
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else {
// Browser
factory( jQuery, window, document );
}
}(function( $, window, document, undefined ) {
'use strict';
var DataTable = $.fn.dataTable;
/**
* It can be quite useful to jump straight to a page which contains a certain
* piece of data (a user name for example). This plug-in provides exactly that
* ability, searching for a given data parameter from a given column and
* immediately shifting the paging of the table to jump to that point.
*
* If multiple data points match the requested data, the paging will be shifted
* to show the first instance. If there are no matches, the paging will not
* change.
*
* Note that unlike the core DataTables API methods, this plug-in will
* automatically call `dt-api draw()` to redraw the table with the current page
* shown.
*
* @name page.JumpToData()
* @summary Jump to a page by searching for data from a column
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
*
* @param {*} data Data to search for
* @param {integer} column Column index
* @returns {Api} DataTables API instance
*
* @example
* var table = $('#example').DataTable();
* table.page.jumpToData( "Allan Jardine", 0 );
*/
DataTable.Api.register('page.jumpToData()', function (data, column) {
var pos = this.column(column, { order: 'current' }).data().indexOf(data);
if (pos >= 0) {
var page = Math.floor(pos / this.page.info().length);
this.page(page).draw(false);
}
return this;
});
return DataTable;
}));

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
!function(t){var o,i;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),i=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"==typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),i(e,n),t(n,0,e.document)}:(i(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.Api.register("page.jumpToData()",function(e,n){n=this.column(n,{order:"current"}).data().indexOf(e);return 0<=n&&(e=Math.floor(n/this.page.info().length),this.page(e).draw(!1)),this}),e});

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;DataTable.Api.register("page.jumpToData()",function(t,a){a=this.column(a,{order:"current"}).data().indexOf(t);return 0<=a&&(t=Math.floor(a/this.page.info().length),this.page(t).draw(!1)),this});export default DataTable;

@ -0,0 +1,46 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from 'jquery';
import DataTable from 'datatables.net';
// Allow reassignment of the $ variable
let $ = jQuery;
/**
* It can be quite useful to jump straight to a page which contains a certain
* piece of data (a user name for example). This plug-in provides exactly that
* ability, searching for a given data parameter from a given column and
* immediately shifting the paging of the table to jump to that point.
*
* If multiple data points match the requested data, the paging will be shifted
* to show the first instance. If there are no matches, the paging will not
* change.
*
* Note that unlike the core DataTables API methods, this plug-in will
* automatically call `dt-api draw()` to redraw the table with the current page
* shown.
*
* @name page.JumpToData()
* @summary Jump to a page by searching for data from a column
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
*
* @param {*} data Data to search for
* @param {integer} column Column index
* @returns {Api} DataTables API instance
*
* @example
* var table = $('#example').DataTable();
* table.page.jumpToData( "Allan Jardine", 0 );
*/
DataTable.Api.register('page.jumpToData()', function (data, column) {
var pos = this.column(column, { order: 'current' }).data().indexOf(data);
if (pos >= 0) {
var page = Math.floor(pos / this.page.info().length);
this.page(page).draw(false);
}
return this;
});
export default DataTable;

@ -0,0 +1,8 @@
/*! © SpryMedia Ltd - datatables.net/license */
declare module 'datatables.net' {
interface Api<T> {
/** Show / hide the processing indicator. */
processing(boolean: any): Api<T>;
}
}
export {};

@ -0,0 +1,84 @@
/*! © SpryMedia Ltd - datatables.net/license */
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net'], function ( $ ) {
return factory( $, window, document );
} );
}
else if ( typeof exports === 'object' ) {
// CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window === 'undefined') {
module.exports = function (root, $) {
if ( ! root ) {
// CommonJS environments without a window global must pass a
// root. This will give an error otherwise
root = window;
}
if ( ! $ ) {
$ = jq( root );
}
cjsRequires( root, $ );
return factory( $, root, root.document );
};
}
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else {
// Browser
factory( jQuery, window, document );
}
}(function( $, window, document, undefined ) {
'use strict';
var DataTable = $.fn.dataTable;
/**
* Externally trigger the display of DataTables' "processing" indicator.
*
* Please note that of DataTables 2.0.0 this functionality is now built into
* DataTables core and this plug-in is no longer required.
*
* @name processing()
* @summary Show / hide the processing indicator via the API
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
* @param {boolean} show `true` to show the processing indicator, `false` to
* hide it.
*
* @returns {DataTables.Api} Unmodified API instance
*
* @example
* // Show a processing indicator for two seconds on initialisation
* var table = $('#example').DataTable( {
* processing: true
* } );
*
* table.processing( true );
*
* setTimeout( function () {
* table.processing( false );
* }, 2000 );
*/
DataTable.Api.register('processing()', function (show) {
return this.iterator('table', function (ctx) {
ctx.oApi._fnProcessingDisplay(ctx, show);
});
});
return DataTable;
}));

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
!function(t){var o,i;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),i=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"==typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),i(e,n),t(n,0,e.document)}:(i(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.Api.register("processing()",function(n){return this.iterator("table",function(e){e.oApi._fnProcessingDisplay(e,n)})}),e});

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;DataTable.Api.register("processing()",function(e){return this.iterator("table",function(t){t.oApi._fnProcessingDisplay(t,e)})});export default DataTable;

@ -0,0 +1,43 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from 'jquery';
import DataTable from 'datatables.net';
// Allow reassignment of the $ variable
let $ = jQuery;
/**
* Externally trigger the display of DataTables' "processing" indicator.
*
* Please note that of DataTables 2.0.0 this functionality is now built into
* DataTables core and this plug-in is no longer required.
*
* @name processing()
* @summary Show / hide the processing indicator via the API
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
* @param {boolean} show `true` to show the processing indicator, `false` to
* hide it.
*
* @returns {DataTables.Api} Unmodified API instance
*
* @example
* // Show a processing indicator for two seconds on initialisation
* var table = $('#example').DataTable( {
* processing: true
* } );
*
* table.processing( true );
*
* setTimeout( function () {
* table.processing( false );
* }, 2000 );
*/
DataTable.Api.register('processing()', function (show) {
return this.iterator('table', function (ctx) {
ctx.oApi._fnProcessingDisplay(ctx, show);
});
});
export default DataTable;

@ -0,0 +1,8 @@
/*! © Edouard Labre - datatables.net/license */
declare module 'datatables.net' {
interface ApiRowMethods<T> {
/** See the row in datable by display the right pagination page */
show(): Api<T>;
}
}
export {};

@ -0,0 +1,95 @@
/*! © Edouard Labre - datatables.net/license */
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net'], function ( $ ) {
return factory( $, window, document );
} );
}
else if ( typeof exports === 'object' ) {
// CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window === 'undefined') {
module.exports = function (root, $) {
if ( ! root ) {
// CommonJS environments without a window global must pass a
// root. This will give an error otherwise
root = window;
}
if ( ! $ ) {
$ = jq( root );
}
cjsRequires( root, $ );
return factory( $, root, root.document );
};
}
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else {
// Browser
factory( jQuery, window, document );
}
}(function( $, window, document, undefined ) {
'use strict';
var DataTable = $.fn.dataTable;
/**
* This plugin jumps to the right page of the DataTable to show the required row
*
* @version 1.0
* @name row().show()
* @summary See the row in datable by display the right pagination page
* @author [Edouard Labre](http://www.edouardlabre.com)
*
* @param {void} a row must be selected
* @returns {DataTables.Api.Rows} DataTables Rows API instance
*
* @example
* // Add an element to a huge table and go to the right pagination page
* var table = $('#example').DataTable();
* var new_row = {
* DT_RowId: 'row_example',
* name: 'example',
* value: 'an example row'
* };
*
* table.row.add( new_row ).draw().show().draw(false);
*/
DataTable.Api.register('row().show()', function () {
var page_info = this.table().page.info();
// Get row index
var new_row_index = this.index();
// Row position
var row_position = this.table()
.rows({ search: 'applied' })[0]
.indexOf(new_row_index);
// Already on right page ?
if ((row_position >= page_info.start && row_position < page_info.end) ||
row_position < 0) {
// Return row object
return this;
}
// Find page number
var page_to_display = Math.floor(row_position / this.table().page.len());
// Go to that page
this.table().page(page_to_display);
// Return row object
return this;
});
return DataTable;
}));

@ -0,0 +1,2 @@
/*! © Edouard Labre - datatables.net/license */
!function(n){var i,o;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?(i=require("jquery"),o=function(e,t){t.fn.dataTable||require("datatables.net")(e,t)},"undefined"==typeof window?module.exports=function(e,t){return e=e||window,t=t||i(e),o(e,t),n(t,0,e.document)}:(o(window,i),module.exports=n(i,window,window.document))):n(jQuery,window,document)}(function(e,t,n,i){"use strict";e=e.fn.dataTable;return e.Api.register("row().show()",function(){var e=this.table().page.info(),t=this.index(),t=this.table().rows({search:"applied"})[0].indexOf(t);return t>=e.start&&t<e.end||t<0||(e=Math.floor(t/this.table().page.len()),this.table().page(e)),this}),e});

@ -0,0 +1,2 @@
/*! © Edouard Labre - datatables.net/license */
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;DataTable.Api.register("row().show()",function(){var e=this.table().page.info(),t=this.index(),t=this.table().rows({search:"applied"})[0].indexOf(t);return t>=e.start&&t<e.end||t<0||(e=Math.floor(t/this.table().page.len()),this.table().page(e)),this});export default DataTable;

@ -0,0 +1,54 @@
/*! © Edouard Labre - datatables.net/license */
import jQuery from 'jquery';
import DataTable from 'datatables.net';
// Allow reassignment of the $ variable
let $ = jQuery;
/**
* This plugin jumps to the right page of the DataTable to show the required row
*
* @version 1.0
* @name row().show()
* @summary See the row in datable by display the right pagination page
* @author [Edouard Labre](http://www.edouardlabre.com)
*
* @param {void} a row must be selected
* @returns {DataTables.Api.Rows} DataTables Rows API instance
*
* @example
* // Add an element to a huge table and go to the right pagination page
* var table = $('#example').DataTable();
* var new_row = {
* DT_RowId: 'row_example',
* name: 'example',
* value: 'an example row'
* };
*
* table.row.add( new_row ).draw().show().draw(false);
*/
DataTable.Api.register('row().show()', function () {
var page_info = this.table().page.info();
// Get row index
var new_row_index = this.index();
// Row position
var row_position = this.table()
.rows({ search: 'applied' })[0]
.indexOf(new_row_index);
// Already on right page ?
if ((row_position >= page_info.start && row_position < page_info.end) ||
row_position < 0) {
// Return row object
return this;
}
// Find page number
var page_to_display = Math.floor(row_position / this.table().page.len());
// Go to that page
this.table().page(page_to_display);
// Return row object
return this;
});
export default DataTable;

@ -0,0 +1,8 @@
/*! © SpryMedia Ltd - datatables.net/license */
declare module 'datatables.net' {
interface ApiRowsMethods<T> {
/** Create tr elements for rows which have not yet had their nodes created. */
generate(): Api<T>;
}
}
export {};

@ -0,0 +1,73 @@
/*! © SpryMedia Ltd - datatables.net/license */
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net'], function ( $ ) {
return factory( $, window, document );
} );
}
else if ( typeof exports === 'object' ) {
// CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window === 'undefined') {
module.exports = function (root, $) {
if ( ! root ) {
// CommonJS environments without a window global must pass a
// root. This will give an error otherwise
root = window;
}
if ( ! $ ) {
$ = jq( root );
}
cjsRequires( root, $ );
return factory( $, root, root.document );
};
}
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else {
// Browser
factory( jQuery, window, document );
}
}(function( $, window, document, undefined ) {
'use strict';
var DataTable = $.fn.dataTable;
/**
* When using `-init deferRender` you might find that under a specific set of circumstances you
* need the `-tag tr` element for a row which hasn't yet been drawn. This method can be used to
* create the nodes for the rows which haven't yet been drawn.
*
* @name rows().generate()
* @summary Create tr elements for rows which have not yet had their nodes created.
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
*
* @returns {DataTable.Api} DataTables API instance
*
* @example
* // Create nodes for all rows
* table.rows().generate();
*/
DataTable.Api.register('rows().generate()', function () {
return this.iterator('row', function (context, index) {
context.oApi._fnCreateTr(context, index);
});
});
return DataTable;
}));

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
!function(t){var o,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),r=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"==typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),r(e,n),t(n,0,e.document)}:(r(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.Api.register("rows().generate()",function(){return this.iterator("row",function(e,n){e.oApi._fnCreateTr(e,n)})}),e});

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;DataTable.Api.register("rows().generate()",function(){return this.iterator("row",function(e,t){e.oApi._fnCreateTr(e,t)})});export default DataTable;

@ -0,0 +1,32 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from 'jquery';
import DataTable from 'datatables.net';
// Allow reassignment of the $ variable
let $ = jQuery;
/**
* When using `-init deferRender` you might find that under a specific set of circumstances you
* need the `-tag tr` element for a row which hasn't yet been drawn. This method can be used to
* create the nodes for the rows which haven't yet been drawn.
*
* @name rows().generate()
* @summary Create tr elements for rows which have not yet had their nodes created.
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
*
* @returns {DataTable.Api} DataTables API instance
*
* @example
* // Create nodes for all rows
* table.rows().generate();
*/
DataTable.Api.register('rows().generate()', function () {
return this.iterator('row', function (context, index) {
context.oApi._fnCreateTr(context, index);
});
});
export default DataTable;

@ -0,0 +1,42 @@
/*! © SpryMedia Ltd - datatables.net/license */
/**
* It can sometimes be useful to get the average of data in an API result set,
* be it from a column, or a collection of cells. This method provides exactly
* that ability.
*
* @name average()
* @summary Average the values in a data set.
* @author [Allan Jardine](http://sprymedia.co.uk)
* @requires DataTables 1.10+
*
* @returns {Number} Calculated average
*
* @example
* // Average a column
* var table = $('#example').DataTable();
* table.column( 3 ).data().average();
*
* @example
* // Average two cells
* var table = $('#example').DataTable();
* table.cells( 0, [3,4] ).data().average();
*/
import DataTable from 'datatables.net';
declare module 'datatables.net' {
interface Api<T> {
/** Average the values in a data set. */
average(): Number;
}
}
DataTable.Api.register<Number>('average()', function () {
var data = this.flatten();
var sum = data.reduce(function (a, b) {
return a * 1 + b * 1; // cast values in-case they are strings
}, 0);
return sum / data.length;
});

@ -0,0 +1,46 @@
/*! © SpryMedia Ltd - datatables.net/license */
/**
* The plug-in provides a way to determine the searchable state of one or more
* columns, as was configured by the `-init columns.searchable` option.
*
* @name columns().order()
* @summary Apply multi-column ordering through the columns() API method.
* @author [Allan Jardine](http://sprymedia.co.uk)
* @requires DataTables 1.10+
*
* @returns {boolean|DataTables.Api} Searchable flag
*
* @example
* // Get the searchable flag for all columns
* table.columns().searchable().toArray()
*
* @example
* // Get the searchable flag for column index 0
* table.column(0).searchable()
*/
import DataTable from 'datatables.net';
declare module 'datatables.net' {
interface ApiColumnMethods {
/** Get searchable flag for selected column */
searchable(): boolean;
}
interface ApiColumnsMethods {
/** Get searchable flag for selected columns */
searchable(): Api<boolean>;
}
}
DataTable.Api.registerPlural(
'columns().searchable()',
'column().searchable()',
function ( selector, opts ) {
return this.iterator( 'column', function ( settings, column ) {
return settings.aoColumns[column].bSearchable;
}, 1 );
}
);

@ -0,0 +1,32 @@
/*! © Alejandro Navarro - datatables.net/license */
/**
* This plug-in will read the text from the header cell of a column, returning
* that value.
*
* @name column().title()
* @summary Get the title of a column
* @author Alejandro Navarro
* @requires DataTables 1.10+
*
* @returns {String} Column title
*
* @example
* // Read the title text of column index 3
* var table = $('#example').DataTable();
* table.column( 3 ).title();
*/
import DataTable from 'datatables.net';
declare module 'datatables.net' {
interface ApiColumnMethods {
/** Get the title of a column */
title(): string;
}
}
DataTable.Api.register('column().title()', function () {
var title = this.header();
return $(title).text().trim();
});

@ -0,0 +1,57 @@
/*! © SpryMedia Ltd - datatables.net/license */
/**
* The DataTables core library provides the ability to set the ordering via the
* `dt-api column().order()` method, but there is no plural equivalent. While
* multi-column ordering can be set using `dt-api order()` that method requires
* that column indexes be used.
*
* This plug-in provides the plural `columns().order()` method so you can set
* multi-column ordering, while retaining the benefits of the `dt-api columns()`
* selector options.
*
* @name columns().order()
* @summary Apply multi-column ordering through the columns() API method.
* @author [Allan Jardine](http://sprymedia.co.uk)
* @requires DataTables 1.10+
* @param {string|array} dir The order to apply to the columns selected. This
* can be a string (`asc` or `desc`) which will be applied to all columns,
* or an array (again `asc` or `desc` as the elements in the array) which is
* the same length as the number of columns selected, and will be applied to
* the columns in sequence.
*
* @returns {DataTables.Api} DataTables API instance
*
* @example
* // Apply multi-column sorting with a common direction
* table.columns( [ 1, 2 ] ).order( 'desc' ).draw();
*
* @example
* // Multi-column sorting with individual direction for the columns
* table.columns( [ 1, 2 ] ).order( [ 'desc', 'asc' ] ).draw();
*
* @example
* // Multi-column sorting based on a name selector
* table.columns( [ 'sign_up_date:name', 'user_name:name' ] ).order( 'desc' ).draw();
*/
import DataTable from 'datatables.net';
declare module 'datatables.net' {
interface ApiColumnsMethods {
/** pply multi-column ordering through the columns() */
order(dir: 'asc' | 'desc'): Api<any>;
}
}
DataTable.Api.register('columns().order()', function (dir) {
return this.iterator('columns', function (settings, columns) {
var a: [number, string][] = [];
for (var i = 0, ien = columns.length; i < ien; i++) {
a.push([columns[i], Array.isArray(dir) ? dir[i] : dir]);
}
new DataTable.Api(settings).order(a);
});
});

@ -0,0 +1,44 @@
/*! © SpryMedia Ltd - datatables.net/license */
/**
* This function will restore the order in which data was read into a DataTable
* (for example from an HTML source). Although you can set `dt-api order()` to
* be an empty array (`[]`) in order to prevent sorting during initialisation,
* it can sometimes be useful to restore the original order after sorting has
* already occurred - which is exactly what this function does.
*
* Please note that this plug-in can only be used for client-side processing
* tables (i.e. without `serverSide: true`).
*
* @name order.neutral()
* @summary Change ordering of the table to its data load order
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
*
* @returns {DataTables.Api} DataTables API instance
*
* @example
* // Return table to the loaded data order
* table.order.neutral().draw();
*/
import DataTable from 'datatables.net';
declare module 'datatables.net' {
interface ApiOrder {
/** Change ordering of the table to its data load order */
neutral(): Api<any>;
}
}
DataTable.Api.register('order.neutral()', function () {
return this.iterator('table', function (s) {
s.aaSorting.length = 0;
s.aiDisplay.sort(function (a, b) {
return a - b;
});
s.aiDisplayMaster.sort(function (a, b) {
return a - b;
});
});
});

@ -0,0 +1,49 @@
/*! © SpryMedia Ltd - datatables.net/license */
/**
* It can be quite useful to jump straight to a page which contains a certain
* piece of data (a user name for example). This plug-in provides exactly that
* ability, searching for a given data parameter from a given column and
* immediately shifting the paging of the table to jump to that point.
*
* If multiple data points match the requested data, the paging will be shifted
* to show the first instance. If there are no matches, the paging will not
* change.
*
* Note that unlike the core DataTables API methods, this plug-in will
* automatically call `dt-api draw()` to redraw the table with the current page
* shown.
*
* @name page.JumpToData()
* @summary Jump to a page by searching for data from a column
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
*
* @param {*} data Data to search for
* @param {integer} column Column index
* @returns {Api} DataTables API instance
*
* @example
* var table = $('#example').DataTable();
* table.page.jumpToData( "Allan Jardine", 0 );
*/
import DataTable from 'datatables.net';
declare module 'datatables.net' {
interface ApiPage {
/** Change ordering of the table to its data load order */
jumpToData(data: any): Api<any>;
}
}
DataTable.Api.register('page.jumpToData()', function (data, column) {
var pos = this.column(column, { order: 'current' }).data().indexOf(data);
if (pos >= 0) {
var page = Math.floor(pos / this.page.info().length);
this.page(page).draw(false);
}
return this;
});

@ -0,0 +1,44 @@
/*! © SpryMedia Ltd - datatables.net/license */
/**
* Externally trigger the display of DataTables' "processing" indicator.
*
* Please note that of DataTables 2.0.0 this functionality is now built into
* DataTables core and this plug-in is no longer required.
*
* @name processing()
* @summary Show / hide the processing indicator via the API
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
* @param {boolean} show `true` to show the processing indicator, `false` to
* hide it.
*
* @returns {DataTables.Api} Unmodified API instance
*
* @example
* // Show a processing indicator for two seconds on initialisation
* var table = $('#example').DataTable( {
* processing: true
* } );
*
* table.processing( true );
*
* setTimeout( function () {
* table.processing( false );
* }, 2000 );
*/
import DataTable from 'datatables.net';
declare module 'datatables.net' {
interface Api<T> {
/** Show / hide the processing indicator. */
processing(boolean): Api<T>;
}
}
DataTable.Api.register('processing()', function (show) {
return this.iterator('table', function (ctx) {
ctx.oApi._fnProcessingDisplay(ctx, show);
});
});

@ -0,0 +1,60 @@
/*! © Edouard Labre - datatables.net/license */
/**
* This plugin jumps to the right page of the DataTable to show the required row
*
* @version 1.0
* @name row().show()
* @summary See the row in datable by display the right pagination page
* @author [Edouard Labre](http://www.edouardlabre.com)
*
* @param {void} a row must be selected
* @returns {DataTables.Api.Rows} DataTables Rows API instance
*
* @example
* // Add an element to a huge table and go to the right pagination page
* var table = $('#example').DataTable();
* var new_row = {
* DT_RowId: 'row_example',
* name: 'example',
* value: 'an example row'
* };
*
* table.row.add( new_row ).draw().show().draw(false);
*/
import DataTable from 'datatables.net';
declare module 'datatables.net' {
interface ApiRowMethods<T> {
/** See the row in datable by display the right pagination page */
show(): Api<T>;
}
}
DataTable.Api.register('row().show()', function () {
var page_info = this.table().page.info();
// Get row index
var new_row_index = this.index();
// Row position
var row_position = this.table()
.rows({ search: 'applied' })[0]
.indexOf(new_row_index);
// Already on right page ?
if (
(row_position >= page_info.start && row_position < page_info.end) ||
row_position < 0
) {
// Return row object
return this;
}
// Find page number
var page_to_display = Math.floor(row_position / this.table().page.len());
// Go to that page
this.table().page(page_to_display);
// Return row object
return this;
});

@ -0,0 +1,33 @@
/*! © SpryMedia Ltd - datatables.net/license */
/**
* When using `-init deferRender` you might find that under a specific set of circumstances you
* need the `-tag tr` element for a row which hasn't yet been drawn. This method can be used to
* create the nodes for the rows which haven't yet been drawn.
*
* @name rows().generate()
* @summary Create tr elements for rows which have not yet had their nodes created.
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
*
* @returns {DataTable.Api} DataTables API instance
*
* @example
* // Create nodes for all rows
* table.rows().generate();
*/
import DataTable from 'datatables.net';
declare module 'datatables.net' {
interface ApiRowsMethods<T> {
/** Create tr elements for rows which have not yet had their nodes created. */
generate(): Api<T>;
}
}
DataTable.Api.register('rows().generate()', function () {
return this.iterator('row', function (context, index) {
context.oApi._fnCreateTr(context, index);
});
});

@ -0,0 +1,61 @@
/*! © SpryMedia Ltd - datatables.net/license */
/**
* Fairly simply, this plug-in will take the data from an API result set
* and sum it, returning the summed value. The data can come from any data
* source, including column data, cells or rows.
*
* Note that it will attempt to 'deformat' any string based data that is passed
* into it - i.e. it will strip any non-numeric characters in order to make a
* best effort attempt to sum all data types. This can be useful when working
* with formatting numbers such as currency. However the trade-off is that no
* error is thrown if non-numeric data is passed in. You should be aware of this
* in case unexpected values are returned - likely the input data is not what is
* expected.
*
* @name sum()
* @summary Sum the values in a data set.
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
*
* @returns {Number} Summed value
*
* @example
* // Simply get the sum of a column
* var table = $('#example').DataTable();
* table.column( 3 ).data().sum();
*
* @example
* // Insert the sum of a column into the columns footer, for the visible
* // data on each draw
* $('#example').DataTable( {
* drawCallback: function () {
* var api = this.api();
* $( api.table().footer() ).html(
* api.column( 4, {page:'current'} ).data().sum()
* );
* }
* } );
*/
import DataTable from 'datatables.net';
declare module 'datatables.net' {
interface Api<T> {
/** Sum the values in a data set. */
sum(): Number;
}
}
DataTable.Api.register('sum()', function () {
return this.flatten().reduce(function (a, b) {
if (typeof a === 'string') {
a = (a.replace(/[^\d.-]/g, '') as any) * 1;
}
if (typeof b === 'string') {
b = (b.replace(/[^\d.-]/g, '') as any) * 1;
}
return a + b;
}, 0);
});

8
api/sum().d.ts vendored

@ -0,0 +1,8 @@
/*! © SpryMedia Ltd - datatables.net/license */
declare module 'datatables.net' {
interface Api<T> {
/** Sum the values in a data set. */
sum(): Number;
}
}
export {};

@ -0,0 +1,100 @@
/*! © SpryMedia Ltd - datatables.net/license */
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net'], function ( $ ) {
return factory( $, window, document );
} );
}
else if ( typeof exports === 'object' ) {
// CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window === 'undefined') {
module.exports = function (root, $) {
if ( ! root ) {
// CommonJS environments without a window global must pass a
// root. This will give an error otherwise
root = window;
}
if ( ! $ ) {
$ = jq( root );
}
cjsRequires( root, $ );
return factory( $, root, root.document );
};
}
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else {
// Browser
factory( jQuery, window, document );
}
}(function( $, window, document, undefined ) {
'use strict';
var DataTable = $.fn.dataTable;
/**
* Fairly simply, this plug-in will take the data from an API result set
* and sum it, returning the summed value. The data can come from any data
* source, including column data, cells or rows.
*
* Note that it will attempt to 'deformat' any string based data that is passed
* into it - i.e. it will strip any non-numeric characters in order to make a
* best effort attempt to sum all data types. This can be useful when working
* with formatting numbers such as currency. However the trade-off is that no
* error is thrown if non-numeric data is passed in. You should be aware of this
* in case unexpected values are returned - likely the input data is not what is
* expected.
*
* @name sum()
* @summary Sum the values in a data set.
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
*
* @returns {Number} Summed value
*
* @example
* // Simply get the sum of a column
* var table = $('#example').DataTable();
* table.column( 3 ).data().sum();
*
* @example
* // Insert the sum of a column into the columns footer, for the visible
* // data on each draw
* $('#example').DataTable( {
* drawCallback: function () {
* var api = this.api();
* $( api.table().footer() ).html(
* api.column( 4, {page:'current'} ).data().sum()
* );
* }
* } );
*/
DataTable.Api.register('sum()', function () {
return this.flatten().reduce(function (a, b) {
if (typeof a === 'string') {
a = a.replace(/[^\d.-]/g, '') * 1;
}
if (typeof b === 'string') {
b = b.replace(/[^\d.-]/g, '') * 1;
}
return a + b;
}, 0);
});
return DataTable;
}));

2
api/sum().min.js vendored

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
!function(t){var o,r;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return t(e,window,document)}):"object"==typeof exports?(o=require("jquery"),r=function(e,n){n.fn.dataTable||require("datatables.net")(e,n)},"undefined"==typeof window?module.exports=function(e,n){return e=e||window,n=n||o(e),r(e,n),t(n,0,e.document)}:(r(window,o),module.exports=t(o,window,window.document))):t(jQuery,window,document)}(function(e,n,t,o){"use strict";e=e.fn.dataTable;return e.Api.register("sum()",function(){return this.flatten().reduce(function(e,n){return(e="string"==typeof e?+e.replace(/[^\d.-]/g,""):e)+(n="string"==typeof n?+n.replace(/[^\d.-]/g,""):n)},0)}),e});

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;DataTable.Api.register("sum()",function(){return this.flatten().reduce(function(e,t){return(e="string"==typeof e?+e.replace(/[^\d.-]/g,""):e)+(t="string"==typeof t?+t.replace(/[^\d.-]/g,""):t)},0)});export default DataTable;

@ -0,0 +1,59 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from 'jquery';
import DataTable from 'datatables.net';
// Allow reassignment of the $ variable
let $ = jQuery;
/**
* Fairly simply, this plug-in will take the data from an API result set
* and sum it, returning the summed value. The data can come from any data
* source, including column data, cells or rows.
*
* Note that it will attempt to 'deformat' any string based data that is passed
* into it - i.e. it will strip any non-numeric characters in order to make a
* best effort attempt to sum all data types. This can be useful when working
* with formatting numbers such as currency. However the trade-off is that no
* error is thrown if non-numeric data is passed in. You should be aware of this
* in case unexpected values are returned - likely the input data is not what is
* expected.
*
* @name sum()
* @summary Sum the values in a data set.
* @author [Allan Jardine](http://datatables.net)
* @requires DataTables 1.10+
*
* @returns {Number} Summed value
*
* @example
* // Simply get the sum of a column
* var table = $('#example').DataTable();
* table.column( 3 ).data().sum();
*
* @example
* // Insert the sum of a column into the columns footer, for the visible
* // data on each draw
* $('#example').DataTable( {
* drawCallback: function () {
* var api = this.api();
* $( api.table().footer() ).html(
* api.column( 4, {page:'current'} ).data().sum()
* );
* }
* } );
*/
DataTable.Api.register('sum()', function () {
return this.flatten().reduce(function (a, b) {
if (typeof a === 'string') {
a = a.replace(/[^\d.-]/g, '') * 1;
}
if (typeof b === 'string') {
b = b.replace(/[^\d.-]/g, '') * 1;
}
return a + b;
}, 0);
});
export default DataTable;

@ -0,0 +1,10 @@
{
"name": "datatables.net-plugins",
"license": "MIT",
"main": [],
"ignore": [],
"dependencies": {
"jquery": ">=1.7.0",
"datatables": "^2"
}
}

@ -0,0 +1,8 @@
/*! © SpryMedia Ltd - datatables.net/license */
declare module 'datatables.net' {
interface Api<T> {
/** Average the values in a data set. */
average(): Number;
}
}
export {};

@ -0,0 +1,150 @@
/*! © SpryMedia Ltd - datatables.net/license */
(function( factory ){
if ( typeof define === 'function' && define.amd ) {
// AMD
define( ['jquery', 'datatables.net'], function ( $ ) {
return factory( $, window, document );
} );
}
else if ( typeof exports === 'object' ) {
// CommonJS
var jq = require('jquery');
var cjsRequires = function (root, $) {
if ( ! $.fn.dataTable ) {
require('datatables.net')(root, $);
}
};
if (typeof window === 'undefined') {
module.exports = function (root, $) {
if ( ! root ) {
// CommonJS environments without a window global must pass a
// root. This will give an error otherwise
root = window;
}
if ( ! $ ) {
$ = jq( root );
}
cjsRequires( root, $ );
return factory( $, root, root.document );
};
}
else {
cjsRequires( window, jq );
module.exports = factory( jq, window, window.document );
}
}
else {
// Browser
factory( jQuery, window, document );
}
}(function( $, window, document, undefined ) {
'use strict';
var DataTable = $.fn.dataTable;
/**
* @summary Download Button
* @author SpryMedia Ltd (www.datatables.net)
* @copyright Copyright 2018 SpryMedia Ltd.
*
* License MIT - http://datatables.net/license/mit
*
* A button that can be used to trigger a server-side action, typically a
* download of a file generated by the server. If server-side processing
* is enabled in the host table it will automatically add the last parameters
* used for a table draw allowing the script to output a file with the same
* order / search applied as the main table.
*
* This is particularly useful when using server-side processing and wishing
* to allow user export of the data in a table. The default Buttons package
* will only export the data available on the client-side, while this button
* can be used to let the server generate the required file and then download
* it to the client-side.
*
* @example
* // Download button
* var table = $('#example').DataTable({
* dom: 'Bfrtip',
* buttons: [
* {
* extend: 'download',
* url: '/api/download'
* }
* ]
* });
*/
function flattenJson(data, name, flattened) {
if (!flattened) {
flattened = {};
}
if (!name) {
name = '';
}
if ($.isPlainObject(data) || Array.isArray(data)) {
$.each(data, function (idx, val) {
if (name === '') {
flattenJson(val, idx, flattened);
}
else {
flattenJson(val, name + '[' + idx.toString() + ']', flattened);
}
});
}
else {
flattened[name] = data;
}
return flattened;
}
DataTable.ext.buttons.download = {
text: 'Download',
action: function (e, dt, node, config) {
// Gather information to be submitted
var data = {};
if (dt.page.info().serverSide) {
$.extend(data, dt.ajax.params());
}
if (typeof config.data === 'function') {
config.data(data);
}
else if (typeof config.data === 'object') {
$.extend(data, config.data);
}
// Convert data to a flat structure for submission
var flattened = flattenJson(data);
// Create an iframe
var iframe = $('<iframe/>')
.css({
border: 'none',
height: 0,
width: 0,
})
.appendTo(document.body);
var contentDoc = iframe[0].contentWindow.document;
contentDoc.open();
contentDoc.close();
var form = $('<form/>', contentDoc)
.attr('method', config.type)
.attr('action', config.url)
.appendTo(contentDoc.body);
$.each(flattened, function (name, val) {
$('<input/>', contentDoc)
.attr('type', 'text')
.attr('name', name.toString())
.attr('autocomplete', 'no')
.val(val)
.appendTo(form);
});
form.submit();
},
url: '',
type: 'POST',
data: {},
};
return DataTable;
}));

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
!function(n){var o,a;"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?(o=require("jquery"),a=function(t,e){e.fn.dataTable||require("datatables.net")(t,e)},"undefined"==typeof window?module.exports=function(t,e){return t=t||window,e=e||o(t),a(t,e),n(e,0,t.document)}:(a(window,o),module.exports=n(o,window,window.document))):n(jQuery,window,document)}(function(i,t,u,e){"use strict";var n=i.fn.dataTable;return n.ext.buttons.download={text:"Download",action:function(t,e,n,o){var a={},e=(e.page.info().serverSide&&i.extend(a,e.ajax.params()),"function"==typeof o.data?o.data(a):"object"==typeof o.data&&i.extend(a,o.data),function n(t,o,a){return a=a||{},o=o||"",i.isPlainObject(t)||Array.isArray(t)?i.each(t,function(t,e){n(e,""===o?t:o+"["+t.toString()+"]",a)}):a[o]=t,a}(a)),d=i("<iframe/>").css({border:"none",height:0,width:0}).appendTo(u.body)[0].contentWindow.document,r=(d.open(),d.close(),i("<form/>",d).attr("method",o.type).attr("action",o.url).appendTo(d.body));i.each(e,function(t,e){i("<input/>",d).attr("type","text").attr("name",t.toString()).attr("autocomplete","no").val(e).appendTo(r)}),r.submit()},url:"",type:"POST",data:{}},n});

@ -0,0 +1,2 @@
/*! © SpryMedia Ltd - datatables.net/license */
import jQuery from"jquery";import DataTable from"datatables.net";let $=jQuery;function flattenJson(t,e,o){return o=o||{},e=e||"",$.isPlainObject(t)||Array.isArray(t)?$.each(t,function(t,a){flattenJson(a,""===e?t:e+"["+t.toString()+"]",o)}):o[e]=t,o}DataTable.ext.buttons.download={text:"Download",action:function(t,a,e,o){var n={},a=(a.page.info().serverSide&&$.extend(n,a.ajax.params()),"function"==typeof o.data?o.data(n):"object"==typeof o.data&&$.extend(n,o.data),flattenJson(n)),r=$("<iframe/>").css({border:"none",height:0,width:0}).appendTo(document.body)[0].contentWindow.document,d=(r.open(),r.close(),$("<form/>",r).attr("method",o.type).attr("action",o.url).appendTo(r.body));$.each(a,function(t,a){$("<input/>",r).attr("type","text").attr("name",t.toString()).attr("autocomplete","no").val(a).appendTo(d)}),d.submit()},url:"",type:"POST",data:{}};export default DataTable;

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save