For running J!5.1 you must https://fabrikar.com/forums/index.php?wiki/update-from-github/ or include the new file manually https://fabrikar.com/forums/index.php?threads/joomla-5-1-and-fabrik-cannot-find-files-error.54473/post-285151 See also Announcements
Please see our announcement here.
/* detach/attach table header */
if(tgBodyTop > window.tableFromTop) {
if(jQuery("#listform_40_com_fabrik_40 div.fabrikDataContainer table.temptable").length==0){
var temphead = jQuery("table#list_40_com_fabrik_40 thead").clone();
jQuery(temphead).prop('id','temphead');
/* Create fixed header */
var tableclasses = document.getElementById("list_40_com_fabrik_40").className;
/* The z-index may have to be set higher if the fixed header is not 'on top' */
jQuery("#listform_40_com_fabrik_40 div.fabrikDataContainer").prepend('<table class="'+tableclasses+' temptable" style="width:'+window.tablewidth+'px;z-index:1"><thead>'+jQuery(temphead).html()+'</thead></table>');
/* Note: Set the "top:" fixed position for table header in function setHeaders() */
jQuery("table.temptable").css({"position":"fixed","top":window.fixedMenuHeight+"px","left":tgBodyLeft+"px"});
}
/************Proposed code. Takes care of the horizontal scrolling ************************************/
else
{
jQuery("table.temptable").css({"position":"fixed","top":window.fixedMenuHeight+"px","left":tgBodyLeft+"px"});
}
/*******************************************************************************************************************/
}else{
if(jQuery("#listform_40_com_fabrik_40 div.fabrikDataContainer table.temptable").length){
jQuery("#listform_40_com_fabrik_40 div.fabrikDataContainer table.temptable").remove();
}
}