This page requires the DataTables jQuery plugin. Put the ColumnFilterWidgets
directory under DataTables/extras/
.
By default, any number of terms can be selected from a dropdown. By setting the oColumnFilterWidgets.iMaxSelections
option, a dropdown menu will be hidden when the maximum number of selections have been made. In this example only one selection can be made.
$(document).ready( function () { $('#example').dataTable( { "sDom": 'W<"clear">lfrtip', "oColumnFilterWidgets": { "iMaxSelections": 1 } } ); } );