Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extender export button #69

Closed
iam-subho opened this issue Dec 31, 2020 · 1 comment
Closed

extender export button #69

iam-subho opened this issue Dec 31, 2020 · 1 comment

Comments

@iam-subho
Copy link

in server side datatable export not fetch whole table at once,it only export pagination table,can we export whole table at once?

@n1crack
Copy link
Owner

n1crack commented Jan 3, 2021

You can set "pageLength": -1 so that will pull all records.

        $('#example').dataTable( {
                "serverSide": true,
                "ajax" : "/public/ajax.php",
                "pageLength": -1,
         } );

@n1crack n1crack closed this as completed Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants