Hi All,
When i don’t put the line attachFooter line, i am getting the report without any problem. When i put it, i got the error message “Object doesn’t support this property or method”. Is it because of i don’t have pro version?
Thanks
<html>
<head>
<title>Fabrika Intranet</title>
<link rel="STYLESHEET" type="text/css" href="css/dhtmlXGrid.css">
</head>
<style type="text/css">
<!--
table { font-size: 10pt }
.frm { background-color: white; background: url('img/orta.JPG'); padding: 8px }
.title { background-color: silver; background: url('img/buttongreen.JPG'); padding: 8px }
.cnt { border: 1px solid black; font-size: 6px; cursor: hand; background-color: #aaffaa }
//-->
</style>
<script src="/dhtmlxSuite/dhtmlxGrid/codebase/dhtmlxcommon.js"></script>
<script src="/dhtmlxSuite/dhtmlxGrid/codebase/dhtmlxgrid.js"></script>
<script src="/dhtmlxSuite/dhtmlxGrid/codebase/dhtmlxgridcell.js"></script>
<body style="overflow: auto; font-family: arial; font-size: 8pt; padding: 0; margin: 0">
<table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
<tr><td>
<div id="fire" style="width: 100%; height:100%; background-color:white; overflow:hidden"></div>
</td></tr></table>
<script language="javascript">
<!--
mygrid_fire = new dhtmlXGridObject("fire");
mygrid_fire.setImagePath("/imgs/");
mygrid_fire.setHeader("Is Emri No,Üretim/Dolum Tarihi,Ürün Kodu,Ürün Adi,Is Merkezi,Üretim Miktari,KK Miktari,Çekilen Miktar,Fire,Fire %,Std. Fire %");
mygrid_fire.setInitWidths("90,100,100,160,160,50,50,50,50,50,50");
mygrid_fire.setColAlign("center,center,left,left,left,right,right,right,right,right,right");
mygrid_fire.setColTypes("ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro");
mygrid_fire.setColSorting("str,str,str,str,str,int,int,int,int,int,int");
mygrid_fire.enableMultiselect(false);
mygrid_fire.setColumnColor("#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff");
mygrid_fire.setSkin("gray");
mygrid_fire.init();
mygrid_fire.attachFooter("#cspan,#cspan,#cspan,#cspan,#cspan,2,2,2,2,1,1");
mygrid_fire.loadXML("/xml.asp?document=fire.xml&day=%25%25&month=%251%25&year=%252010%25&product_name=%25%25&work_center=%25%25&typefilter=D");
//-->
</script>
</body>
</html>