hello i use datatble but my data loading performance is slow ...so how to improve means i have more
hello i use datatble but my data loading performance is slow ...so how to improve means i have more
Rbber
Posts: 6Questions: 1Answers: 0
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
This question has an accepted answers - jump to answer
Answers
hello, i use datatable but my performance is slow so how to improve that ...menas if there is more data then performance is slow
function InitTableFC() {
// debugger;
tableFC = $('#tableFC').DataTable({
dom: 'Rrtip',
paging: true,
pageLength: 25,
} this is my code
Can you post a link to the page that shows the issue please? That is required in the forum rules and indicated in the template text you didn't fill out.
I would need to be able to use a browser's profiler on the page to understand why performance is poor on your page.
Allan
sorry I cant share the link because of company privacy...i shere the code
see when i reload the page my datatable takes more time to load
function InitTableFC() {
// debugger;
tableFC = $('#tableFC').DataTable({
dom: 'Rrtip',
paging: true,
pageLength: 25,
serverSide: true, // Enable server-side processing
}
There really isn't much I can do without being able to see it. I don't know how much data you are loading, the size of each data point, etc. Please create a test case showing the issue on JSFiddle or similar if you can't link to your own page. I need to be able to run a profiler on it to understand where the slow down is coming from.
I notice also that the second code is significantly different from the original that you posted. For example you have server-side processing enabled. That changes everything.
I can't debug what I can't see. Sorry.
Allan
see i have more than 900 rows
That shouldn't cause a DataTable to slow down.
I can't help without a test case to profile I'm afraid. I'd like to, and I'm not just being difficult for no purpose. I actually genuinely can't help without a test case.
Allan