Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Support for -1 length type. (Means All records) #12

Merged
merged 2 commits into from
Mar 1, 2017
Merged

Conversation

savass
Copy link
Contributor

@savass savass commented Apr 11, 2016

lengthMenu option -1 adaptation. -1 should return all values without pagination.

The page length values must always be integer values > 0, with the sole exception of -1. When -1 is used as a value this tells DataTables to disable pagination (i.e. display all rows).

See: https://datatables.net/reference/option/lengthMenu

@orf
Copy link
Owner

orf commented Mar 1, 2017

I'm so sorry this has languished for so long, don't be afraid to just poke me if I don't reply! I'm fixing up the travis failures then I will merge this.

@savass
Copy link
Contributor Author

savass commented Mar 1, 2017

No problems. Just trying to share :)

@orf orf merged commit 5202d16 into orf:master Mar 1, 2017
@orf
Copy link
Owner

orf commented Mar 1, 2017

Thanks! I'll do a release tonight.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants