Why DataTable works correctly on PC and Android, but does not work correctly on iPhone in all browse

Why DataTable works correctly on PC and Android, but does not work correctly on iPhone in all browse

samnebudusamnebudu Posts: 1Questions: 1Answers: 0
edited September 2020 in Free community support

https://prnt.sc/ulo02d - I have this on my PC and Android


but i have this on iPhone in all browsers

BUT
if i switch to another Bootstrap Tab i have normal DataTable
liki this

This problem same for all pages for iPhone devices

i use this code to fix problem with DT in bootstrap tabs that 50/50 hepling and fixing problems
$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
$.fn.dataTable.tables( { visible: true, api: true } ).columns.adjust();
});

and this code dataTable('#id');

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    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

This discussion has been closed.