:: Forum >> Version 1 >>

grid not rendering properly in jsp very very urgent

hi ,
I am painting the gird via the xsl and xml that can be found below .I find that many times only the row headers gets painted . this problem is becoming chronic . kindly let me know where its going wrong .

fyi ,
I am finally painting the grid in the jsp using the following code snippet
<div id="grid" name="grid" style="width:800px;height:350px;"></div>
<script>
grid.innerHTML=obj;
</script>



GRID XSL




<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="html"/>
<xsl:param name="precision" select="'..'"/>
<xsl:param name="emptyformat" select="'..'"/>
<xsl:param name="scale" select="'1'"/>
<xsl:param name="isCode" select="'0'"/>
<xsl:template match="/">
<head>
<link href="../html-jsp/images/gridview/classic/activeui.css" rel="stylesheet" type="text/css" />
<script src="../script/gridview/activeui.js"></script>
<!-- grid format -->
<script type="">
var i=0;
</script>
<style>
body, html {margin:0px; padding: 0px; overflow: hidden;}
.active-controls-grid {height: 100%; font: menu;}
<xsl:for-each select="//columnheaders/header">

.active-column-<xsl:number />


</xsl:for-each>

//.active-grid-column {text-align: right;width: 101px;border-right: 1px solid black;background-color: #6699CC;}
//.active-grid-column {text-align: right;width: 100px;border-right: 1px solid black;background-color: #FFFFFF;}
//.active-grid-row {border-bottom: 1px solid black;background-color: #FFFFFF;}
//.active-grid-row {border-bottom: 1px solid black;}
//.active-scroll-top * {text-align: center;background-color: #6699CC;border-right: 1px solid black;}
//.active-scroll-top * {text-align: center;}
//.active-scroll-left * {text-align: left;}
//.active-scroll-left * {text-align: left;background-color: #6699CC; ;border-bottom: 1px solid black;border-left: 1px solid black;border-right: 1px solid blackborder-top : 1px solid black}
//.active-scroll-corner .active-box-item {background: #6699CC;border-bottom: 1px solid black;border-right: 1px solid black;border-left: 1px #FFFFFF}
.active-grid-column {text-align: right;width: 100px;border-right: 1px solid black;}
.active-grid-row {border-bottom: 1px solid black;}
.active-scroll-top * {text-align: center;}
.active-scroll-left * {text-align: left;background-color: #CCCCCC;}
.active-scroll-corner.active-box-item {background: #CCCCCC;}
</style>

</head>

<xsl:apply-templates select="//reportdata"></xsl:apply-templates>
</xsl:template>



<xsl:template match="//reportdata">
<script>
alert( <xsl:value-of select="'&quot;'"/><xsl:value-of select="$isCode"/><xsl:value-of select="'&quot;'"/>);
</script>
<xsl:if test="$isCode=0">


<script >

var rowHeader = [
<xsl:for-each select="//rowheaders/header">
<xsl:value-of select="'&quot;'"/><xsl:value-of select="."/><xsl:value-of select="'&quot;'"/>

<xsl:if test="position() != last()">,</xsl:if>
</xsl:for-each>
];
</script>


<script >
var i =0;
var columnHeader = [
<xsl:for-each select="//columnheaders/header">
<xsl:value-of select="'&quot;'"/><xsl:value-of select="."/><xsl:value-of select="'&quot;'"/>

<xsl:if test="position() != last()">,</xsl:if>
</xsl:for-each>
];
</script>




</xsl:if>


<xsl:if test="$isCode=1">


<script >

var rowHeader = [
<xsl:for-each select="//rowheaders/header">
<xsl:if test="count(@code)=0">

<xsl:value-of select="'&quot;'"/><xsl:value-of select="."/><xsl:value-of select="'&quot;'"/>
</xsl:if>
<xsl:if test="count(@code)>0">

<xsl:value-of select="'&quot;'"/><xsl:value-of select="@code"/><xsl:value-of select="'&quot;'"/>
</xsl:if>

<xsl:if test="position() != last()">,</xsl:if>
</xsl:for-each>
];
</script>


<script >
var i =0;
var columnHeader = [
<xsl:for-each select="//columnheaders/header">
<xsl:if test="count(@code)=0">

<xsl:value-of select="'&quot;'"/><xsl:value-of select="."/><xsl:value-of select="'&quot;'"/>
</xsl:if>
<xsl:if test="count(@code)>0">

<xsl:value-of select="'&quot;'"/><xsl:value-of select="@code"/><xsl:value-of select="'&quot;'"/>
</xsl:if>


<xsl:if test="position() != last()">,</xsl:if>
</xsl:for-each>
];
</script>




</xsl:if>


<script language="javascript">
alert(' start gridata');
var gridData = [
<xsl:for-each select="//data/row">
[
<xsl:for-each select="./col">

<xsl:value-of select="'&quot;'"/><xsl:value-of select="."/><xsl:value-of select="'&quot;'"/>
<xsl:if test="position() != last()">,</xsl:if>

</xsl:for-each>


<xsl:if test="position() != last()">],</xsl:if>

</xsl:for-each>
]];
alert(' end gridata');

</script>

<script >
var obj = new Active.Controls.Grid;
alert('row count='+'<xsl:value-of select = "count(//rowheaders/header)" />');
alert('column count='+'<xsl:value-of select = "count(//columnheaders/header)" />');
obj.setRowCount(<xsl:value-of select = "count(//rowheaders/header)" /> );
obj.setColumnCount(<xsl:value-of select = "count(//columnheaders/header)" /> );
obj.setDataText(function(i, j){return gridData [i][j]});
obj.setColumnText(function(i){return columnHeader [i]});
obj.setRowText(function(i){return rowHeader [i]});
obj.setRowHeaderWidth("200px");


alert("object complete");
</script>

</xsl:template>

</xsl:stylesheet>



SAMPLE XML




<reportdata>
<rowheaders>
<header code="GB.AMA.ABRD.CN"><![CDATA[Adjustments to scheduled principal repayments (current LCU)]]></header>
<header code="NV.AGR.TOTL.ZS"><![CDATA[Agriculture, value added (% of GDP)]]></header>
<header code="NV.AGR.TOTL.KD.ZG"><![CDATA[Agriculture, value added (annual % growth)]]></header>
<header code="NV.AGR.TOTL.KD"><![CDATA[Agriculture, value added (constant 1995 US$)]]></header>
<header code="NV.AGR.TOTL.KN"><![CDATA[Agriculture, value added (constant LCU)]]></header>
<header code="NV.AGR.TOTL.CN"><![CDATA[Agriculture, value added (current LCU)]]></header>
<header code="NV.AGR.TOTL.CD"><![CDATA[Agriculture, value added (current US$)]]></header>
<header code="NV.SRV.BNKG.KN"><![CDATA[Banking, value added (constant LCU)]]></header>
<header code="NV.SRV.BNKG.CN"><![CDATA[Banking, value added (current LCU)]]></header>
<header code="NV.SRV.BNKG.CD"><![CDATA[Banking, value added (current US$)]]></header>
<header code="FR.INR.GBND"><![CDATA[Bond interest rate (%)]]></header>
<header code="GB.XPK.RINV.CN"><![CDATA[Budgetary investment (current LCU)]]></header>
<header code="GB.XPK.INLD.CN"><![CDATA[Capital expenditure and net lending (current LCU)]]></header>
</rowheaders>
<columnheaders>
<header><![CDATA[1965]]></header>
<header><![CDATA[1966]]></header>
<header><![CDATA[1967]]></header>
<header><![CDATA[1968]]></header>
<header><![CDATA[1969]]></header>
<header><![CDATA[1970]]></header>
<header><![CDATA[1971]]></header>
<header><![CDATA[1972]]></header>
<header><![CDATA[1973]]></header>
<header><![CDATA[1974]]></header>
<header><![CDATA[1975]]></header>
<header><![CDATA[1976]]></header>
<header><![CDATA[1977]]></header>
<header><![CDATA[1978]]></header>
<header><![CDATA[1979]]></header>
<header><![CDATA[1980]]></header>
<header><![CDATA[1981]]></header>
<header><![CDATA[1982]]></header>
<header><![CDATA[1983]]></header>
<header><![CDATA[1984]]></header>
<header><![CDATA[1985]]></header>
<header><![CDATA[1986]]></header>
<header><![CDATA[1987]]></header>
<header><![CDATA[1988]]></header>
<header><![CDATA[1989]]></header>
<header><![CDATA[1990]]></header>
<header><![CDATA[1991]]></header>
<header><![CDATA[1992]]></header>
<header><![CDATA[1993]]></header>
<header><![CDATA[1994]]></header>
<header><![CDATA[1995]]></header>
<header><![CDATA[1996]]></header>
<header><![CDATA[1997]]></header>
<header><![CDATA[1998]]></header>
<header><![CDATA[1999]]></header>
<header><![CDATA[2000]]></header>
<header><![CDATA[2001]]></header>
<header><![CDATA[2002]]></header>
<header><![CDATA[2003]]></header>
<header><![CDATA[2004]]></header>
<header><![CDATA[2005]]></header>
<header><![CDATA[2006]]></header>
<header><![CDATA[2007]]></header>
<header><![CDATA[2008]]></header>
<header><![CDATA[2009]]></header>
<header><![CDATA[2010]]></header>
</columnheaders>
<data>
<row>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col>0</col>
<col>0</col>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</row>
<row>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col>34</col>
<col>32</col>
<col>32</col>
<col>34</col>
<col>33</col>
<col>35</col>
<col>34</col>
<col>33</col>
<col>31</col>
<col>32</col>
<col>36</col>
<col>39</col>
<col>52</col>
<col>55</col>
<col>54</col>
<col>56</col>
<col>31</col>
<col>27</col>
<col>22</col>
<col>19</col>
<col>18</col>
<col>16</col>
<col>15</col>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</row>
<row>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col>2</col>
<col>1</col>
<col>9</col>
<col>-4</col>
<col>6</col>
<col>4</col>
<col>-3</col>
<col>-6</col>
<col>13</col>
<col>4</col>
<col>-17</col>
<col>18</col>
<col>10</col>
<col>8</col>
<col>13</col>
<col>3</col>
<col>-10</col>
<col>5</col>
<col>0</col>
<col>5</col>
<col>3</col>
<col>2</col>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</row>
<row>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col>816631168</col>
<col>832711232</col>
<col>838743296</col>
<col>912214208</col>
<col>874379712</col>
<col>930279808</col>
<col>965680832</col>
<col>935530304</col>
<col>875021120</col>
<col>985501440</col>
<col>1021326912</col>
<col>843613888</col>
<col>999665664</col>
<col>1103700096</col>
<col>1195264384</col>
<col>1353128448</col>
<col>1393656960</col>
<col>1258472320</col>
<col>1320137472</col>
<col>1320137472</col>
<col>1379543552</col>
<col>1420929920</col>
<col>1453611264</col>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</row>
<row>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col>56765730816</col>
<col>57883492352</col>
<col>58302791680</col>
<col>63409909760</col>
<col>60779954176</col>
<col>64665686016</col>
<col>67126484992</col>
<col>65030660096</col>
<col>60824539136</col>
<col>68504256512</col>
<col>70994558976</col>
<col>58641354752</col>
<col>69488836608</col>
<col>76720496640</col>
<col>83085312000</col>
<col>94058774528</col>
<col>96876003328</col>
<col>87479025664</col>
<col>91765497856</col>
<col>91765497856</col>
<col>95894945792</col>
<col>98771795968</col>
<col>101043544064</col>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</row>
<row>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col>5220800000</col>
<col>5207699968</col>
<col>5244400128</col>
<col>5702900224</col>
<col>5464800256</col>
<col>5834599936</col>
<col>5912600064</col>
<col>5728000000</col>
<col>5357499904</col>
<col>6033999872</col>
<col>6035999744</col>
<col>6446000128</col>
<col>27490000896</col>
<col>68487000064</col>
<col>100749000704</col>
<col>125435002880</col>
<col>96876003328</col>
<col>87479025664</col>
<col>91765497856</col>
<col>92132564992</col>
<col>96278528000</col>
<col>99166879744</col>
<col>101447720960</col>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</row>
<row>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col>636923136</col>
<col>680023296</col>
<col>739075008</col>
<col>716000000</col>
<col>669687488</col>
<col>754249984</col>
<col>754499968</col>
<col>447638912</col>
<col>366533344</col>
<col>671046464</col>
<col>1064774848</col>
<col>1353128448</col>
<col>927043072</col>
<col>587383552</col>
<col>609211264</col>
<col>669130368</col>
<col>669950080</col>
<col>691154752</col>
<col>723851008</col>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</row>
<row>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col>3067000064</col>
<col>3441174016</col>
<col>4428790784</col>
<col>6350886400</col>
<col>8198993920</col>
<col>12044322816</col>
<col>12766982144</col>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</row>
<row>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col>3067000064</col>
<col>3441174016</col>
<col>4428790784</col>
<col>6350886400</col>
<col>8198993920</col>
<col>12044322816</col>
<col>12766982144</col>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</row>
<row>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col>29349282</col>
<col>23105984</col>
<col>29401784</col>
<col>46124528</col>
<col>57052352</col>
<col>83944264</col>
<col>91095128</col>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</row>
<row>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col>18</col>
<col>33</col>
<col>27</col>
<col>18</col>
<col>11</col>
<col>8</col>
<col>9</col>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</row>
<row>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col>3161999872</col>
<col>1007000000</col>
<col>2153999872</col>
<col>11902999552</col>
<col>15971000320</col>
<col>15285000192</col>
<col>15761172480</col>
<col>14034495488</col>
<col>24035196928</col>
<col>37204000768</col>
<col>35062001664</col>
<col>43094999040</col>
<col>41967001600</col>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</row>
<row>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col>4630499840</col>
<col>4670199808</col>
<col>4901300224</col>
<col>4412299776</col>
<col>4440000000</col>
<col>4440000000</col>
<col>4491299840</col>
<col>5473999872</col>
<col>3161999872</col>
<col>1007000000</col>
<col>2153999872</col>
<col>11902999552</col>
<col>15971000320</col>
<col>15331000320</col>
<col>15145552896</col>
<col>13123599360</col>
<col>23902859264</col>
<col>37204000768</col>
<col>35062001664</col>
<col>43094999040</col>
<col>41967001600</col>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
<col/>
</row>
</data>
</reportdata>



Arun
Friday, May 14, 2004
There are several problems in the HTML which you produce with XSLT. These problems can prevent the page from being rendering at all. Here is HTML which you get from XML/XSL:
<head xmlns:fo="http://www.w3.org/1999/XSL/Format">
<
META http-equiv="Content-Type" content="text/html; charset=UTF-16">
<
link href="../html-jsp/images/gridview/classic/activeui.css" rel="stylesheet" type="text/css"><script src="../script/gridview/activeui.js"></script><script type="">
var 
i=0;
</
script><style>
bodyhtml {margin:0pxpadding0pxoverflowhidden;}
.
active-controls-grid {height100%; fontmenu;}


.
active-column-1

.active-column-2

.active-column-3

.active-column-4

.active-column-5

.active-column-6

.active-column-7

.active-column-8

.active-column-9

.active-column-10

.active-column-11

.active-column-12

.active-column-13

.active-column-14

.active-column-15

.active-column-16

.active-column-17

.active-column-18

.active-column-19

.active-column-20

.active-column-21

.active-column-22

.active-column-23

.active-column-24

.active-column-25

.active-column-26

.active-column-27

.active-column-28

.active-column-29

.active-column-30

.active-column-31

.active-column-32

.active-column-33

.active-column-34

.active-column-35

.active-column-36

.active-column-37

.active-column-38

.active-column-39

.active-column-40

.active-column-41

.active-column-42

.active-column-43

.active-column-44

.active-column-45

.active-column-46

//.active-grid-column {text-align: right;width: 101px;border-right: 1px solid black;background-color: #6699CC;}
//.active-grid-column {text-align: right;width: 100px;border-right: 1px solid black;background-color: #FFFFFF;}
//.active-grid-row {border-bottom: 1px solid black;background-color: #FFFFFF;}
//.active-grid-row {border-bottom: 1px solid black;}
//.active-scroll-top * {text-align: center;background-color: #6699CC;border-right: 1px solid black;}
//.active-scroll-top * {text-align: center;}
//.active-scroll-left * {text-align: left;}
//.active-scroll-left * {text-align: left;background-color: #6699CC; ;border-bottom: 1px solid black;border-left: 1px solid black;border-right: 1px solid blackborder-top : 1px solid black}
//.active-scroll-corner .active-box-item {background: #6699CC;border-bottom: 1px solid black;border-right: 1px solid black;border-left: 1px #FFFFFF}
.active-grid-column {text-alignright;width100px;border-right1px solid black;}
.
active-grid-row {border-bottom1px solid black;}
.
active-scroll-top * {text-aligncenter;}
.
active-scroll-left * {text-alignleft;background-color#CCCCCC;}
.
active-scroll-corner.active-box-item {background#CCCCCC;}
</
style>
</
head><script xmlns:fo="http://www.w3.org/1999/XSL/Format">
alert"0");
</
script><script xmlns:fo="http://www.w3.org/1999/XSL/Format">

var 
rowHeader = [
"Adjustments to scheduled principal repayments (current LCU)","Agriculture, value added (% of GDP)","Agriculture, value added (annual % growth)","Agriculture, value added (constant 1995 US$)","Agriculture, value added (constant LCU)","Agriculture, value added (current LCU)","Agriculture, value added (current US$)","Banking, value added (constant LCU)","Banking, value added (current LCU)","Banking, value added (current US$)","Bond interest rate (%)","Budgetary investment (current LCU)","Capital expenditure and net lending (current LCU)"
];
</
script><script xmlns:fo="http://www.w3.org/1999/XSL/Format"
var 
=0
var 
columnHeader = [
"1965","1966","1967","1968","1969","1970","1971","1972","1973","1974","1975","1976","1977","1978","1979","1980","1981","1982","1983","1984","1985","1986","1987","1988","1989","1990","1991","1992","1993","1994","1995","1996","1997","1998","1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010"
];
</
script><script language="javascript" xmlns:fo="http://www.w3.org/1999/XSL/Format"
alert(' start gridata'); 
var 
gridData = [

[
"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","0","0","","","","","","","",""],
[
"","","","","","","","","","","","","","","","34","32","32","34","33","35","34","33","31","32","36","39","52","55","54","56","31","27","22","19","18","16","15","","","","","","","",""],
[
"","","","","","","","","","","","","","","","","2","1","9","-4","6","4","-3","-6","13","4","-17","18","10","8","13","3","-10","5","0","5","3","2","","","","","","","",""],
[
"","","","","","","","","","","","","","","","816631168","832711232","838743296","912214208","874379712","930279808","965680832","935530304","875021120","985501440","1021326912","843613888","999665664","1103700096","1195264384","1353128448","1393656960","1258472320","1320137472","1320137472","1379543552","1420929920","1453611264","","","","","","","",""],
[
"","","","","","","","","","","","","","","","56765730816","57883492352","58302791680","63409909760","60779954176","64665686016","67126484992","65030660096","60824539136","68504256512","70994558976","58641354752","69488836608","76720496640","83085312000","94058774528","96876003328","87479025664","91765497856","91765497856","95894945792","98771795968","101043544064","","","","","","","",""],
[
"","","","","","","","","","","","","","","","5220800000","5207699968","5244400128","5702900224","5464800256","5834599936","5912600064","5728000000","5357499904","6033999872","6035999744","6446000128","27490000896","68487000064","100749000704","125435002880","96876003328","87479025664","91765497856","92132564992","96278528000","99166879744","101447720960","","","","","","","",""],
[
"","","","","","","","","","","","","","","","","","","","636923136","680023296","739075008","716000000","669687488","754249984","754499968","447638912","366533344","671046464","1064774848","1353128448","927043072","587383552","609211264","669130368","669950080","691154752","723851008","","","","","","","",""],
[
"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","3067000064","3441174016","4428790784","6350886400","8198993920","12044322816","12766982144","","","","","","","",""],
[
"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","3067000064","3441174016","4428790784","6350886400","8198993920","12044322816","12766982144","","","","","","","",""],
[
"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","29349282","23105984","29401784","46124528","57052352","83944264","91095128","","","","","","","",""],
[
"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","18","33","27","18","11","8","9","","","","","","","",""],
[
"","","","","","","","","","","","","","","","","","","","","","","","","","3161999872","1007000000","2153999872","11902999552","15971000320","15285000192","15761172480","14034495488","24035196928","37204000768","35062001664","43094999040","41967001600","","","","","","","",""],
[
"","","","","","","","","","","","","","","","","","4630499840","4670199808","4901300224","4412299776","4440000000","4440000000","4491299840","5473999872","3161999872","1007000000","2153999872","11902999552","15971000320","15331000320","15145552896","13123599360","23902859264","37204000768","35062001664","43094999040","41967001600","","","","","","","",""
]];
alert(' end gridata'); 

</
script><script xmlns:fo="http://www.w3.org/1999/XSL/Format">
var 
obj = new Active.Controls.Grid;
alert('row count='+'13');
alert('column count='+'46');
obj.setRowCount(13 );
obj.setColumnCount(46 );
obj.setDataText(function(ij){return gridData [i][j]});
obj.setColumnText(function(i){return columnHeader [i]});
obj.setRowText(function(i){return rowHeader [i]});
obj.setRowHeaderWidth("200px");


alert("object complete");
 
The problems which I see:
- there is head tag but there is no HTML tag and no BODY tag
- the stylesheet is totally corrupted
- // is not valid comment symbol in CSS, breaks processing
- .active-scroll-corner.active-box-item not a valid rule for IE
- avoid using * in stylesheet rules, heavy for performance
Alex (ActiveWidgets)
Friday, May 14, 2004



This topic is archived.

Back to support forum

Forum search