有什麼好方法使sorttable work on colspans
本帖最後由 luckiejacky 於 2015-1-30 16:45 編輯
http://www.kryogenix.org/code/browser/sorttable/
如果我有一個column有兩個colspans,這麼colspan'ed後的column
就唔sort
有冇方法可以bypass colspans?
THX
- echo '<table class="sortable" id="table_id">
- <thead>
- <tr>
- <th>Item No</th>
- <th>Reponse Raised Date</th>
- <th>Last Name</th>
- <th>First Name</th>
- <th>Mobile Phone Number</th>
- <th colspan=2>Revised Target Finsih Date</th>
- <th colspan=2>Actual Target Finsih Date</th>
- <th>Approval Date</th>
- <th>Status</th>
- </tr>
- </thead>
- <tbody>';
複製代碼 |
|