Too long responsive

Too long responsive

MasterslandMastersland Posts: 3Questions: 1Answers: 0
edited June 2020 in Free community support

I have a table with 600 rows and 13 columns. Everything needs to be displayed immediately (paging:false) and with a small screen all the elements were expanded.

$('#jtable').DataTable({
    responsive: {
    details: {
            display: $.fn.dataTable.Responsive.display.childRowImmediate
                    }
    },
    searching:false,
    info: false,
    ordering:false,
    paging:false,
    fixedHeader: true,
});
}

I managed to do so, but it opens on the phones for a very long time. If I just turn on responsive (true), then everything works relatively quickly.

Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    I'm not clear what the issue is - are you saying it's slow without Responsive? And do you want Responsive enabled?

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • MasterslandMastersland Posts: 3Questions: 1Answers: 0

    it's extremly slow with expanded rows

  • MasterslandMastersland Posts: 3Questions: 1Answers: 0

    anyone can help?

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Yep, but can you link to your page or create a test case as requested,

    Colin

This discussion has been closed.