Json data source does not work on iPad

Json data source does not work on iPad

Alex123Alex123 Posts: 4Questions: 2Answers: 1

Hi I have this code , and it work perfect on windows, but on iPad just nothing happens, empty place instead of table, also I see in debug console in chrome error but it points only on place in file where I initialize table

var allLetter = [ {"x": {"key": "time", "val": 22}}, {"x": {"key": "earth", "val": 17}} ]; $(document).ready(function () { $('#example').DataTable({ data: allLetter , columns: [ {data: "x.val"}, {data: "x.key"} ] }); });
<table id="example" class="uk-table uk-table-hover uk-table-striped " width="100%">
    <thead>
        <tr>
            <th>Name</th>
            <th>Position</th>
        </tr>
    </thead>
    <tfoot>
        <tr>
            <th>Name</th>
            <th>Position</th>
        </tr>
    </tfoot>
</table>

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,299Questions: 26Answers: 4,945

    I see in debug console in chrome error

    What is the error?

    Kevin

  • Alex123Alex123 Posts: 4Questions: 2Answers: 1

    unfortunately is empty

  • Alex123Alex123 Posts: 4Questions: 2Answers: 1
    Answer ✓

    found issue, please close

This discussion has been closed.