ajax call not working in mobile
ajax call not working in mobile
ali_share
Posts: 1Questions: 1Answers: 0
hi every one,
i use datatable to display data that fetch from database and it work perfect in desktop but in mobile the data in table not display
here is my code:
$('#users-table').dataTable( {
dom: 'Bfrtip',
buttons: [
'colvis', 'copy', 'csv', 'excel', 'pdf', 'print'
],
// rowReorder: {
selector: 'td:nth-child(2)'
},
processing: true,
serverSide: true,
ajax: 'https://resultstest.000webhostapp.com/college/get_datatable',
columns: [
{ data: 'name', name: 'name' },
{ data: 'action', name: 'action',searchable:false, sortable: false, className: 'text-right' }
]
} );
This discussion has been closed.