jquery tablesorting plugin의 특정 열에 대한 정렬을 무시할 수 있습니까?특정 열 테이블 목록에서 정렬을 무시합니다.
그래서 기본적으로 페이지가로드 될 때 이미지에 포함되어있는 자바 스크립트 처리를 수행하기 때문에 "정렬"을 수행하지 않아도됩니다. 따라서 정렬이 상당히 느려집니다. 여기
내 코드입니다 :<script type="text/javascript">
jQuery(document).ready(function() {
jQuery("table").tablesorter({
});
});
puts "<table cellspacing=\"1px\" class=\"tablesorter\" >"
puts "<thead>"
puts "<tr>"
puts "<th>Search</th>"
puts "<th>Sub-App</th>"
puts "<th>Division</th>"
puts "<th>Region</th>"
puts "<th>Market</th>"
puts "<th>Language</th>"
puts "<th>Function</th>"
puts "<th>LOB</th>"
puts "<th>Term</th>"
puts "<th>Center</th>"
puts "</tr>"
puts "</thead>"
puts "<tbody>"
puts "<tr>"
puts "<td id=\"$cellID\">"
puts "<img src=\"images/magnifier.gif\" style=\"cursor:pointer\" onclick=\"showRouting({'spec':'${specific}', 'id':'${mkt_id}', 'name':'${mkt_name}', 'xfer':'${xfertype}', 'cell':'${cellID}'})\"</img>"
puts "</td>"
puts "<td>$level</td>"
puts "<td>$div_name</td>"
puts "<td>$reg_name</td>"
puts "<td>$link</td>"
puts "<td>$lang</td>"
puts "<td>$func</td>"
puts "<td>$lob</td>"
puts "<td>$term</td>"
puts "<td>$ctr_name</td>"
puts "</tr>"
puts "</tbody>"
puts "</table>"
를 사용하지만 신중하게 할 수 있습니다, 그것은 특정 버전 이후 지원되는거야, 아마 당신은 이전을했고 lib 디렉토리를 업데이트해야 – Tebe