DataTables / DataTables/Buttons
Buttons do not work when using DataTable with ajax
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 138
- Forks
- 150
- PR merge metrics
- No merged PRs in 30d
Description
When initializing a DataTable using ajax and buttons at the same time, the buttons never show up on screen.
var table = $('#example').DataTable( {
ajax: "data.json",
buttons: ['copy', 'excel', 'pdf', 'print', 'csv']
} );
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the provided DataTable initialization with both ajax and buttons enabled, then trace how the table setup handles button controls during Ajax loading. Done means the listed buttons appear and remain usable when the table is populated from data.json.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100