
Untitled
By: a guest on
May 22nd, 2012 | syntax:
None | size: 2.70 KB | hits: 12 | expires: Never
tablesorter config parsers error
function initializeTableNoteBook(){
$(".fht-container").bind('afterFixedHeaderTable', function(){
NoteBook.UI_Components.initSorttableFixedHeaderTables();
});
var notesBookSortList = [[5,1]];
$("#note-book").tablesorter({
debug: true,
sortList: notesBookSortList,
widgets: ['zebra'],
cssHeader: "header",
cssAsc: "headerSortUp",
cssDesc: "headerSortDown",
headers: {
5: {
sorter: 'customDate'
}
}
});
NoteBook.UI_Components.initFixedHeaderTables();
}
<div class="table-wrapper fht-container">
<div class="fht_table_body" style="width: 1141px; height: 497px; overflow: hidden;">
<table cellspacing="0" class="highlightable QA-messages-list" id="open-notes" style="width: 1141px; margin-top: -37px;">
<thead>
<tr>
<th class="message-patient_full_name sortable-header QA-messages-sorting" data-service-url="http://localhost:3000/messages?category=reminder&page=1&sort=patient_full_name&sort_order=desc&view=all" width="203px">
<div class="empty-cell">PATIENT</div>
</th>
<th class="lock-header">
<div class="lock-header-icon" title="Locked"></div>
</th>
<th class="message-note sortable-header QA-messages-sorting" data-service-url="http://localhost:3000/messages?category=reminder&page=1&sort=subject&sort_order=desc&view=all" width="212px">
<div class="empty-cell">NOTE</div>
</th>
<th class="message-subject sortable-header QA-messages-sorting" data-service-url="http://localhost:3000/messages?category=reminder&page=1&sort=subject&sort_order=desc&view=all" width="212px">
<div class="empty-cell">SUBJECT</div>
</th>
<th class="message-status sortable-header QA-messages-sorting" data-service-url="http://localhost:3000/messages?category=reminder&page=1&sort=status&sort_order=desc&view=all" width="188px">
<div class="empty-cell">STATUS</div>
</th>
<th class="QA-messages-sorting last-cell message-date_of_visit sort sortable-header" data-service-url="http://localhost:3000/messages?category=reminder&page=1&sort=from&sort_order=desc&view=all" width="287px">
<div class="empty-cell">VISIT DATE</div>
</th>
</tr>
</thead>