Show only specific amount of rows in table and rest export as Excel

Show only specific amount of rows in table and rest export as Excel

armashansariarmashansari Posts: 2Questions: 2Answers: 0

I'm having Web Service which gets data from DB. And then that DataSet is converting into JSON.
Using AJAX I'm getting JSON data.

The problem is browser not responding on huge amount of data. And DataTable take so much time to load.
So for that, I want to show x number of rows in DataTable and rest Export as Excel.
Where x can be changed.

Answers

  • kthorngrenkthorngren Posts: 21,167Questions: 26Answers: 4,921

    The problem is browser not responding on huge amount of data. And DataTable take so much time to load.

    Start with this FAQ.

    So for that, I want to show x number of rows in DataTable and rest Export as Excel.
    Where x can be changed.

    If you use server side processing as described in the previous FAQ link then see this FAQ regarding exporting server side datatables.

    Kevin

This discussion has been closed.