TF.prototype.SetFixedHeaders=function(){if(!this.hasGrid&&!this.isFirstLoad||!this.fixedHeaders)return;if(this.contDiv)return;var e=tf_Tag(this.tbl,"thead");if(e.length==0)return;var t=tf_Tag(this.tbl,"tbody");if(t[0].clientHeight!=0)this.prevTBodyH=t[0].clientHeight,this.prevTBodyOverflow=t[0].style.overflow,this.prevTBodyOverflowX=t[0].style.overflowX,t[0].style.height=this.tBodyH+"px",t[0].style.overflow="auto",t[0].style.overflowX="hidden";else{var n=tf_CreateElm("div",["id",this.prfxContentDiv+this.id]);n.className=this.contDivCssClass,this.tbl.parentNode.insertBefore(n,this.tbl),n.appendChild(this.tbl),this.contDiv=tf_Id(this.prfxContentDiv+this.id),this.contDiv.style.position="relative";var r=0,i=tf_Tag(e[0],"tr");for(var s=0;s= offsetParent.offsetHeight ? 0 - parentNode.parentNode.offsetHeight + offsetParent.offsetHeight + offsetParent.scrollTop : 0);"}},TF.prototype.RemoveFixedHeaders=function(){if(!this.hasGrid||!this.fixedHeaders)return;if(this.contDiv){this.contDiv.parentNode.insertBefore(this.tbl,this.contDiv),this.contDiv.parentNode.removeChild(this.contDiv),this.contDiv=null;var e=tf_Tag(this.tbl,"thead");if(e.length==0)return;var t=tf_Tag(e[0],"tr");if(t.length==0)return;for(var n=0;n