Previously i'm developing application to fix header and footer using javascript function. But now my requirement is i don't want footer row footer row also include in header itself. Now i need to fix header alone. I want to scroll data between top to bottom.
Can any one modify my code appropriate to my requirement. If i use this code in textboxes it's showing some "," on each load.
Javascript code
<script language="javascript" type="text/javascript">
function MakeStaticHeader(gridId, height, width, headerHeight, isFooter) {
var tbl = document.getElementById(gridId);
if (tbl) {
var DivHR = document.getElementById('DivHeaderRow');
var DivMC = document.getElementById('DivMainContent');
var DivFR = document.getElementById('DivFooterRow');
//*** Set divheaderRow Properties ****
DivHR.style.height = headerHeight + 'px';
DivHR.style.width = (parseInt(width) - 16) + 'px';
DivHR.style.position = ...
Go to the complete details ...