엑셀에서 틀고정 역할을 하는 라이브러리

download

현재는 행단위로만 고정이 되는데, 앞으로 컬럼도 고정시키겠음..

$(.tableClassName).fixedtable({
	container : .habi-content-list /*특정 div에 있을경우 해당 class명을 주고, 그냥 맨 바닥에 있다면 window*/
});

테이블 예시)

크기를 고정시켜줬을때 좋은 모양을 유지해줌. 비율로 지정했을경우, 브라우저 비율이 변경되거나 했을때 고정된 사이즈가 안맞을 수 있음.

<table class=’tableClassName’>
    <thead>
        <tr>
            <th style=’width:20px’>
                <div style=’display:block;width:100%’></div>
            </th></tr>
    </thead>
    <tbody>……</tbody>
<table>