2010-02-17 2 views

답변

3

(이 page에 데모에서 수정)를 jQuery 플러그인 tablesorter

<script type="text/javascript" src="/path/to/jquery-latest.js"></script> 
<script type="text/javascript" src="/path/to/jquery.tablesorter.js"></script> 

.... 

<script type="text/javascript"> 
    var aspxElements = { 
     theGrid: '<%= myGrid.ClientID %>' //I'm not entierly sure this is the id of the table or some container element 
    }; 

    $(document).ready(function() { 
     $('#' + aspxElements.theGrid).tablesorter(); 
    }); 
</script> 

당신은 페이지 매김을 사용하는 경우이 이상한 얻을 것이다

참고하십시오.