0
나는 flexigrid 같이 보인 정상적인 html 테이블을 개조하는 방법을 알고 싶다. flexigrid와 같은 테이블에서 헤더 스크롤을 피할 수 있습니까?정상적인 HTML 테이블을 flexigrid처럼 보이게 만드는 방법은 무엇입니까?
나는 flexigrid 같이 보인 정상적인 html 테이블을 개조하는 방법을 알고 싶다. flexigrid와 같은 테이블에서 헤더 스크롤을 피할 수 있습니까?정상적인 HTML 테이블을 flexigrid처럼 보이게 만드는 방법은 무엇입니까?
CSS로 헤드를 고정시킬 수 있습니다. 항상 맨 위에 표시됩니다.
<table>
<thead style="position:fixed; top:0px; z-index:42; background:#fff;">
<tr>
<th>head cell a</th>
<th>head cell b</th>
</tr>
</thead>
<tbody>
<tr>
<td>1a</td>
<td>1b</td>
</tr>
<tr>
<td>2a</td>
<td>2b</td>
</tr>
<!-- ... -->
</tbody>
</table>
iE – kbvishnu
에서 작동하지 않습니다. 나는 이것을 찾았다 : http://stackoverflow.com/questions/684211/html-table-with-fixed-headers-and-a-fixed-column and this http://stackoverflow.com/questions/673153/html-table -with-fixed-headers – Floern
이 솔루션은 파이어 폭스에서만 작동합니다. IE에는 없습니다. – kbvishnu