複数の行を選択できるjQuery datatablesプラグインを使用してテーブルを作成しました。ボタンを使用して一度にすべての行の選択を解除する方法を知りたいと思っていました。ここに私のコードがあります:http://jsfiddle.net/v6VTB/5/
$(document).ready(function() {
$('#example5').dataTable( {
"bPaginate": true,
"bLengthChange": false,
"bFilter": true,
"bSort": true,
"bInfo": true,
"bAutoWidth": false
} );
/* Add/remove class to a row when clicked on */
$('#example5 tr').click( function() {
$(this).toggleClass('row_selected');
} );
} );
$('#example5').css('min-height','300');