IOS devices notworking

IOS devices notworking

CiluferCilufer Posts: 2Questions: 1Answers: 0

I'm using Laravel and Datatable with Yajra. Fetching the data server-side.

The code is working on windows and android devices but not on IOS devices.

var table_all = $('#loans-table-all').DataTable({
processing: true,
serverSide: true,
iDisplayLength: 100,

            ajax: location.protocol+'/active-loans-ajax-all',
            "columnDefs": [
                { className: "text-right", "targets": [ 5,6,7,8,9,10,11,12 ] },
                { className: "text-center", "targets": [ 1 ] }
            ],
            columns: [
                {data: 'loan_acct_no', name: 'loan_acct_no'},
                {data: 'option', sortable:false},
                {data: 'lname',name:'lname', visible: false},
                {data: 'fname',name:'fname', visible: false},
                {data: 'mname',name:'mname', visible: false},
                {data: 'complete_name',name:'lname'},
                {data: 'branch_name', name: 'branch_name'},
                 {data: 'area_name',name:'area_name'},
                {data: 'loan_amount', name: 'loan_amount'},
                {data: 'total_payable', name: 'total_payable'},
                {data: 'daily', searchable:false},
                {data: 'rem_balance', name: 'rem_balance'},
                {data: 'date_due',name: 'date_due'}
            ]
        });

Answers

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    What specifically isn't working? The paging? Sorting? Something else? We'd really need a test case and a more detailed description please.

    Allan

  • CiluferCilufer Posts: 2Questions: 1Answers: 0

    I can't tell what specially isn't working, but I think the code above is not running on the IOS devices. Initially the table is empty then I run the program, getting data server-side, then I can see the option of number of row to be displayed and the search/filter box generated by Datatables, but the table is empty and initComplete function that populates a single column filter is not populating.

    The first photo(Android) is working highlighted with green box while the second photo(Iphone) with red boxes highlighted with the missing output.

    Hoping for your soonest reply.

    More power

    Cilufer

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    Try running the iOS one with remote debugger enabled. That's all I can really suggest without a test case.

    Allan

This discussion has been closed.