Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 22nd, 2012  |  syntax: None  |  size: 2.70 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. tablesorter config parsers error
  2. function initializeTableNoteBook(){
  3.  
  4.     $(".fht-container").bind('afterFixedHeaderTable', function(){
  5.         NoteBook.UI_Components.initSorttableFixedHeaderTables();
  6.     });
  7.  
  8.     var notesBookSortList = [[5,1]];
  9.     $("#note-book").tablesorter({
  10.         debug: true,
  11.         sortList: notesBookSortList,
  12.         widgets: ['zebra'],
  13.         cssHeader: "header",
  14.         cssAsc: "headerSortUp",
  15.         cssDesc: "headerSortDown",
  16.         headers: {
  17.             5: {
  18.                 sorter: 'customDate'
  19.             }
  20.         }
  21.     });
  22.     NoteBook.UI_Components.initFixedHeaderTables();
  23. }
  24.        
  25. <div class="table-wrapper fht-container">
  26.                   <div class="fht_table_body" style="width: 1141px; height: 497px; overflow: hidden;">
  27.                   <table cellspacing="0" class="highlightable QA-messages-list" id="open-notes" style="width: 1141px; margin-top: -37px;">
  28.                     <thead>
  29.                       <tr>
  30.  
  31.                         <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">
  32.                           <div class="empty-cell">PATIENT</div>
  33.                         </th>
  34.                         <th class="lock-header">
  35.                           <div class="lock-header-icon" title="Locked"></div>
  36.                         </th>
  37.                         <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">
  38.                           <div class="empty-cell">NOTE</div>
  39.  
  40.                         </th>
  41.                         <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">
  42.                           <div class="empty-cell">SUBJECT</div>
  43.                         </th>
  44.                         <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">
  45.                           <div class="empty-cell">STATUS</div>
  46.                         </th>
  47.                         <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">
  48.  
  49.                           <div class="empty-cell">VISIT DATE</div>
  50.                         </th>
  51.                       </tr>
  52.                     </thead>