Json data source does not work on iPad
Json data source does not work on iPad
Alex123
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
This discussion has been closed.
Answers
What is the error?
Kevin
unfortunately is empty
found issue, please close