Sorting issue with input fields

Sorting issue with input fields

ajmwegmanajmwegman Posts: 2Questions: 1Answers: 0

Hi,

I'm trying to get the sorting with inputs fields right... but with no luck.

I have a dataTable set-up like this:
var t = $('#dataTables-newscat').DataTable( {
"columns": [
null,
null,
null,
{ "orderDataType": "dom-text-numeric" },
null
],
"aoColumns": [
/* afbeelding / { "bSearchable": false, "bSortable": false },
/
Naam / { "bSearchable": true, "bSortable": true },
/
Website / { "bSearchable": true, "bSortable": true },
/
Sorteren / { "bSearchable": false, "bSortable": true },
/
actie */ { "bSearchable": false, "bSortable": false }
],
"paging": true,
"ordering": true,
"info": false,
"pageLength": 25,
"lengthMenu": [ 10, 25, 50, 75, 100 ],
"language": {
"url": "../js/plugins/dataTables/Dutch.json"
}
} );

Everything works correct exept for the option sorteren.

My html looks like this:

Afbeelding: Naam: Site: Sorteren: Acties:
sort 1 Site inactief Bewerken image
sort 2 Site actief Bewerken image

I'm definitely thinking that i'm overlooking something.

Best regards,

Michael

This discussion has been closed.