0
我正在使用JQuery table sorter與插件/插件column resize。出於某種原因,調整大小功能不適用於我的表格。如果我將示例代碼複製並過濾到JSFidle(指定了依賴項),它將起作用,但是如果我用自己的表替換HTML並調整javascript以將其定向,則不起作用。會發生什麼是「調整」指針符號顯示,但我不能調整它。JQuery table sorter column resize not working with the table
這是我在小提琴表:http://jsfiddle.net/dxhW4/(不工作)
這裏是我的表的短版。我條紋走任何多餘的行,類和名稱:http://jsfiddle.net/KXUpY/(不工作)
這是在騙取錢財的例子:http://jsfiddle.net/4FMRh/2/(工程)[我不小心貼錯人之前]
這裏是一個我爲我的表的代碼複印件(我主要在這裏張貼,因爲如果我不計算器不會讓我售後的任何環節。):
<table class="entry-table" id="2" style="width: auto">
<thead>
<tr class="entry-table-title">
<td name="ID" class="entry-table-value">ID</td>
<td name="3" class="entry-table-value">Title</td>
<td name="6" class="entry-table-value">Options</td>
<td name="7" class="entry-table-value">Files</td>
<td name="8" class="entry-table-value">Date's Are Cool!</td>
</tr>
</thead>
<tbody>
<tr class="entry-table-cell">
<td name="ID" class="entry-table-value">300</td>
<td name="3" class="entry-table-value">Num 1, Num 2, Num 3</td>
<td name="6" class="entry-table-value"></td>
<td name="7" class="entry-table-value">TEST</td>
<td name="8" class="entry-table-value"></td>
</tr>
<tr class="entry-table-cell">
<td name="ID" class="entry-table-value">302</td>
<td name="3" class="entry-table-value">Get</td>
<td name="6" class="entry-table-value"></td>
<td name="7" class="entry-table-value"></td>
<td name="8" class="entry-table-value"></td>
</tr>
<tr class="entry-table-cell">
<td name="ID" class="entry-table-value">303</td>
<td name="3" class="entry-table-value">Test</td>
<td name="6" class="entry-table-value"></td>
<td name="7" class="entry-table-value"></td>
<td name="8" class="entry-table-value"></td>
</tr>
<tr class="entry-table-cell">
<td name="ID" class="entry-table-value">304</td>
<td name="3" class="entry-table-value"></td>
<td name="6" class="entry-table-value"></td>
<td name="7" class="entry-table-value"></td>
<td name="8" class="entry-table-value"></td>
</tr>
<tr class="entry-table-cell">
<td name="ID" class="entry-table-value">305</td>
<td name="3" class="entry-table-value"></td>
<td name="6" class="entry-table-value"></td>
<td name="7" class="entry-table-value"></td>
<td name="8" class="entry-table-value"></td>
</tr>
<tr class="entry-table-cell">
<td name="ID" class="entry-table-value">306</td>
<td name="3" class="entry-table-value"></td>
<td name="6" class="entry-table-value"></td>
<td name="7" class="entry-table-value"></td>
<td name="8" class="entry-table-value"></td>
</tr>
<tr class="entry-table-cell">
<td name="ID" class="entry-table-value">307</td>
<td name="3" class="entry-table-value"></td>
<td name="6" class="entry-table-value"></td>
<td name="7" class="entry-table-value"></td>
<td name="8" class="entry-table-value"></td>
</tr>
<tr class="entry-table-cell">
<td name="ID" class="entry-table-value">308</td>
<td name="3" class="entry-table-value"></td>
<td name="6" class="entry-table-value"></td>
<td name="7" class="entry-table-value"></td>
<td name="8" class="entry-table-value"></td>
</tr>
<tr class="entry-table-cell">
<td name="ID" class="entry-table-value">309</td>
<td name="3" class="entry-table-value"></td>
<td name="6" class="entry-table-value"></td>
<td name="7" class="entry-table-value"></td>
<td name="8" class="entry-table-value"></td>
</tr>
</tbody>
</table>
爲什麼不爲我的工作表中?我真的不知道...