큰 테이블에서 여러 테이블을 사용하고 주 테이블을 정렬하기 위해 jquery tablesorter를 사용하고 있습니다.테이블 내에서 테이블 정렬
메인 테이블에서 개별 테이블을 정렬 할 수 있기를 원합니다. 예제 코드 :
<table class="info tablesorter" border="0" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th colspan>The Name</th>
<th>Geography</th>
<th colspan="5">Prospective clients</th>
</tr>
</thead>
<tbody>
<Tr class="parent" id="id_1" style='background-color: white'>
<TD style=vertical-align:middle>Main echo 1</td>
<TD style=vertical-align:middle>New York, NY</td>
<td colspan="5">55</td>
</tr>
<tr class="child-id_1 expand-child" style="display:none">
<td colspan='7'>
<table class="ctable_1 ts2" width=75% id="class_id_1">
<thead><tr>
<th>URL</th>
<th>Contact Page</th>
<th>Phone</th>
<th>GoogleIndex</th>
<th>Listed in next?</th>
<th>Created On</th>
</tr></thead>
<tbody>
<tr class='childofmarket'>
<td> xyz </td>
<td> aaa</td>
<td> ###-###-#### </td>
<td>127</td>
<td>- No -</td>
<td>03-09-2011</td>
</tr>
<tr class='childofmarket'>
<td> aak</td>
<td>csa</td>
<td>##########</td>
<td>69</td>
<td>- No -</td>
<td>03-09-2011</td>
</tr>
등등. 나는 계속 얻고있다.
Error: parsers[i] is undefined
내가 여기에서 고칠 필요가있는 것을 말해 줄 수있는 누군가?
같은 자바 스크립트 사용 뭔가 당신이 우리에게 피들러 데모를 제공 할 수 있습니다 선호 사용하는 tablesorter에있는 말 해주세요? http://jsfiddle.net/ –
http://fiddle.jshell.net/K6CFk/show/0/ –