responsive + dynamic height = poor performance

responsive + dynamic height = poor performance

hbanaharishbanaharis Posts: 15Questions: 8Answers: 1

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: 52,276Questions: 1Answers: 7,963 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.