responsive + dynamic height = poor performance

responsive + dynamic height = poor performance

hbanaharishbanaharis Posts: 32Questions: 14Answers: 3

When a table is made both responsive and has vertical dynamic height, e.g.:

$('#examples').DataTable( {
                responsive: true,
                scrollY: '80vh',
                scrollCollapse: true,
                paging: false,
                ajax: "getsamples.php",

there is a long lag to load and perform ajax operations. Is there a workaround?

Answers

  • allanallan Posts: 63,488Questions: 1Answers: 10,467 Site admin

    How large is your data set? Does using 800px for the height fix it? I'd be mildly surprised if it did!

    Allan

This discussion has been closed.