Gordey Doronin
59e1a8205e
Pagination Input plugin improvements.
...
- Reusable functions calcDisableClasses/calcCurrentPage/calcPages - less duplicated code means less errors.
- Reused code for calculating `disabled` classes from main jQuery.dataTables source code to be consistent.
- Moved duplicated strings to constant variables.
- Reworked approach with buttons disabling.
- Totally removed all if-else branches for buttons disabling. Less conditional branching means less errors again :).
- Fixed bug when restoring state in the middle of pages had disabled first/prev buttons.
- It seems it's not required to assign disabled classes to buttons on init, cause they will be assigned on update anyway.
- Reworked on-update loop over each instance of the pager to jQuery.children selector, which already executes for each matched descendant.
- Wrapped all plugin code to IIFE pattern to have private static functions easily, and not expose them to global scope.
9 years ago
Allan Jardine
56322760bc
Merge pull request #217 from NomadeLampe/patch-1
...
i18n: Update French.lang grammar
9 years ago
NomadeLampe
4f3928616f
Update French.lang
9 years ago
Allan Jardine
0b6b128646
Merge pull request #216 from tomascassidy/patch-3
...
Fix - ffeatures: Typo in comments for dataTables.lengthLinks.js
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
...
i18n: Added Welsh translation.
9 years ago
Marco Krikke
0bbbe5e2cd
Added Welsh translation.
...
Translation has been provided by one of our customer's translation
department.
9 years ago
Allan Jardine
5ed087e4d1
Merge pull request #213 from afelicioni/patch-1
...
i18n: Update thousands separator for italian
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
...
Fix - paging: max page after key pressed (input plug-in)
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)
...
- DataTables uses -1 as the infinite page length number, so having a
default of -1 in this plug-in causes a conflict.
- This fixes #210 - thanks `malte-witt` for the test case and bug report
9 years ago
Allan Jardine
ccbbd84c0f
Merge pull request #211 from xianzai/master
...
Fix - file size sorting: Add large file size support and remove whitespace before sorting
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
...
i18n: Update Kyrgyz.lang
9 years ago
tynar
9ea10efad0
Update Kyrgyz.lang
...
Grammatical fixes.
10 years ago
Allan Jardine
a6264f3908
Merge pull request #208 from wiraqutra/master
...
i18n: Update Japanese
10 years ago
Seigo ISHINO
322d0eeacb
Update Japanese
...
New translation with the new keys for a current version.
10 years ago
Allan Jardine
737bc82979
Merge pull request #204 from Philzen/patch-2
...
API: `fnSetFilteringDelay` - Removed unused variables and fixed indentation
10 years ago
Philzen
c85e9aa169
Removed unused variables and fixed indentation
...
Variables `$this` and `$$this` were unused.
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
...
Fix - filtering: Example code for `accent-neutralise.js` had an error
10 years ago
Sébastien ALFAIATE
c1973963f3
Fix example code
10 years ago
Allan Jardine
703cb5c6ec
Merge pull request #195 from SamerHalawani/patch-1
...
Fix - sorting: extend special_letters object for all Turkish letters
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
...
Bug Fix: Input pager stuck in hidden state if initially hidden
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.
...
This is a new category of plug-ins - they are functions that use the
orthogonal data options of DataTables 1.10 to provide formatting helper
functions. They do not directly interface with DataTables themselves,
but provide easy to use functions for developers to format their data in
the DataTable.
10 years ago
Allan Jardine
beb0516793
Merge pull request #191 from mjhasbach/#190
...
Fix #190 : Conditional paging didn't always appear
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
...
This fixes #188
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
...
New - API: Add `row().show().js` plugin
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
...
1. Had tab focusing on both the `li` tag and the `a` tags. now just the
`a` tag.
2. Because the code is destroying and creating elements focus would be
lost. Use the same technique as DataTable's built in paging to retain
focus. it isn't perfect, but it is better than not having it!
10 years ago
Allan Jardine
91902cdb3b
Merge pull request #185 from Vaflan/patch-1
...
Update - i18n: Update Latvian
10 years ago
Ruslans Jermakovics
42fd2dc4a8
Update Latvian
...
New translation with the new keys for a current version
(The first author is added)
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
...
rendered on top of the table
10 years ago
Allan Jardine
58e78363bd
Merge pull request #183 from pstast/update-czech
...
i18n: Update Czech.lang to include all current options (based on the default English file)
10 years ago