IPad initcomplete doesn't fire

IPad initcomplete doesn't fire

michiel_nassmichiel_nass Posts: 1Questions: 1Answers: 0

In all browser the datatables look fine and work well but not on an IPad.
The datatable doesn't get formatted and the initcomplete doesn't fire, does anyone know what I am doing wrong?
Here's my code:

    <script type="text/javascript">
        var OrderArray = [];

        $(document).ready(function () {
            $('#tbl_info').hide();
           
            $('#tbl').DataTable({
                fixedHeader: true,
                paging: false,
                info: false,
                searching: true,
                ordering: false,
                order: OrderArray,
                language: {
                    search: "",
                    emptyTable: "Geen gegevens gevonden."
                },
                initComplete: function () {
                    $('#tbl_filter').appendTo('#tblMenu');
                    $('#tbl_filter').css('float', 'left');
                    $('#tbl_filter').css('margin-right', '10px');
                    $('#tbl').removeClass('hidden');
                
                }
            });

        });
    </script>

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    Can you link to a page showing the issue please? I've never had a problem with DataTables running on an iPad.

    Allan

This discussion has been closed.