DataTables / DataTables/Plugins

Ability of ellipses not built in DataTables 1.10?

Open
#101 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

The ellipses.js plugin is deprecated because it should be built in DataTables 1.10.

"Note that DataTables 1.10 has this ability built in. As such, this plug-ins has been marked as deprecated, but may still be useful for if you are using an old version of DataTables."

But me (and others) haven't found the ability yet to change the gap between the number of pagination buttons in DataTables 1.10. Am I missing something?

If the ability is not built in, can someone show me a workaround solution (or head me in the right direction) to gain control over the following:

Change this:
Previous 1 2 3 4 5 ... 10 Next

into (for example) this:
Previous 1 ... 10 Next

Hope someone can help me out.

Thanks in advance!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the deprecated ellipses.js plugin and the DataTables 1.10 pagination implementation to determine whether the built-in behavior exposes control over the gap between page buttons. Compare the current output with the two examples in the issue. Done means the requested control is available or the supported workaround is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.