MediaWiki:Gadget-Synovial-joints-table.js
From WikiMSK
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (โ-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (โ-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/**
* For Synovial Joints datatable
* @example <>
*/
(function($,mw){
var table = $('#synovial-joints').DataTable({
searchBuilder:{
},
dom: 'Qfrtip',
orderCellsTop: true,
colReorder: true,
fixedHeader: true,
columnDefs:[{
type: 'date',
targets: [2,8]
}],
columns: [
{ "title": "Synovial Joint" },
{ "title": "Joint type" },
{ "title": "Bones" },
{ "title": "Ligaments" },
{ "title": "Muscles" },
{ "title": "Innervation" },
{ "title": "Vasculature" },
{ "title": "ROM" },
{ "title": "Volume" },
],
fnInitComplete: function() {
}
});
}(jQuery, mediaWiki));