私はグリッド コントロールを使用しており、テーブルには tr が 1 つあり、クリックすると開きます。
<script type="text/javascript">
// Activate TableStyling
jQuery(document).ready(function () {
$('table.management').each(function () {
$(this).children('tbody').children(':odd').addClass('grey');
});
});
しかし、問題は、その非表示の TR もカウントすることです。そのため、その非表示の TR をカウントせず、表示されている Tr にクラスを追加する関数が必要です