Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Jquery の既定の検索ボックスを使用して、限られた列をフィルター処理したいと考えていました。その定義済みの状態は、すべての列を並べ替えることができます。フィルタリングする列を制限するにはどうすればよいですか。
データテーブルを作成するときに、そのように列を検索不可に定義できます。
$('#table').dataTable( "aoColumns": [ {"bSearchable": true}, {"bSearchable": false}, {"bSearchable": false} ]);
したがって、この場合、3 つの列があり、最初の列のみが検索可能になります。