This page requires the DataTables jQuery plugin. Put the ColumnFilterWidgets directory under DataTables/extras/.
To specify options for individual columns, a minimal implementation inspired by the DataTables aoColumnDefs allows some options, including widget sorting, to be overridden for an individual column. In this example the Platforms column alone uses a forward slash separator and is not sorted, while versions are sorted numerically.
$(document).ready( function () {
$('#example').dataTable( {
"sDom": 'W<"clear">lfrtip',
oColumnFilterWidgets: {
aoColumnDefs: [
{ bSort: false, sSeparator: " / ", aiTargets: [ 2 ] },
{ fnSort: function( a, b ) { return a-b; }, aiTargets: [ 3 ] }
]
}
} );
} );