Sorting issue with input fields
Sorting issue with input fields
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 | |||
sort 2 | Site |
I'm definitely thinking that i'm overlooking something.
Best regards,
Michael