Ordering issue with column
Ordering issue with column
EA13
Posts: 1Questions: 1Answers: 0
Just wondering if any one can help with this...
The order arrow is missing from the first row and whenever I order one of the other rows it orders the row to the left instead
Here is a screenshot:
And my code:
var dataRecords = $('#recordListing').DataTable({
"lengthChange": true,
"processing":true,
"serverSide":true,
"ordering": true,
'serverMethod': 'post',
"order":[],
"ajax":{
url:"ajax_action.php",
type:"POST",
data:{action:'listRecords'},
dataType:"json"
},
"columnDefs":[
{
},
],
"pcarLength": 10
});
Answers
I can't debug a screenshot I'm afraid, but you are using sever-side processing, so the first question is, does
ajax_action.php
implement DataTables' server-side processing?Next question is: do you really need server-side processing? How many rows are you working with?
Allan