|
@@ -5,10 +5,10 @@ $(function() {
|
|
|
var isAccept = $(this).prop("checked");
|
|
|
|
|
|
if (isAccept) {
|
|
|
- $('table[columnShow] th').find('td:eq('+column+')').hide();
|
|
|
+ $('table[columnShow] tr').find('th:eq('+column+')').hide();
|
|
|
$('table[columnShow] tr').find('td:eq('+column+')').hide();
|
|
|
} else {
|
|
|
- $('table[columnShow] th').find('td:eq('+column+')').show();
|
|
|
+ $('table[columnShow] tr').find('th:eq('+column+')').show();
|
|
|
$('table[columnShow] tr').find('td:eq('+column+')').show();
|
|
|
}
|
|
|
|