<table class="display" id="jquerytable">
<thead>
<tr>
<th>Name</th>
<th>BillingAddress</th>
<th>DeliveryAddress</th>
<th>Eng 1</th>
<th>Eng 2</th>
</tr>
</thead>
<tbody>
<% foreach (var item in Model) { %>
<tr>
<td><%= Html.Encode(item.Name) %></td>
<td><%= Html.Encode(item.BillingAddress) %></td>
<td><%= Html.Encode(item.DeliveryAddress) %></td>
<td><%= Html.Encode(item.Engineer1Id) %></td>
<td><%= Html.Encode(item.Engineer2Id) %></td>
</tr>
<% } %>
</tbody>
</table>
Eng 1 및 Eng 2를 숨기려면 어떻게해야합니까? 나는 위트를 보았는데 = "거짓"이지만 성공하지 못했습니다.<th> 및 <td> 태그
jQueryTable에서 사용하는 것으로 가정하는 jQuery에서 클래스 나 ID를 지정하면 $ ("# myId"). hide() 또는 $ (". myClass").숨는 장소() – Alistair