3.2.0

v2b4 - firefox 1.5: grid doesn't display

grid displays in ie, but doesn't in firefox.
here's my full source:
<html>
    <head>
    <title>DART</title>
    </head>
    <body>

        <link rel="stylesheet" type="text/css" href="/iBill/css/grid/aw.css" />
        <script src="/iBill/scripts/aw.js"></script>
        <style>
            #myCoolGrid {width: 400px;}
            .aw-alternate-even {background: #CDE1FF;}
        </style>
        <script type="text/javascript">
         var myColumns = ["Date","Name","Amount","Type","Transaction ID","Invoice Number","Notes","&nbsp;"];
         var myData = [
    			["11/17/2005","PAUL WECHSLER","64.26","A","55698","89-195","","&nbsp"],["11/17/2005","vito spinelli","78.23","A","55699","1568-195","","&nbsp"],["11/17/2005","Jason Hoefer","51.46","A","55700","2002-195","","&nbsp"],["11/17/2005","Kathryn Sherer","599.67","A","55701","3701-195","","&nbsp"],["11/17/2005","William Nastri","120.04","A","55702","302-195","","&nbsp"],
    			["&nbsp;","&nbsp;","&nbsp;","&nbsp;","&nbsp;","&nbsp;","&nbsp;","&nbsp;"]
        ];

        var obj = new AW.UI.Grid;
        obj.setId("myCoolGrid");
        obj.setRowCount(myData.length - 1);
        obj.setColumnCount(myColumns.length);
        obj.setCellText(function(i, j){return myData[j][i]});
        </script>
        <script type="text/javascript">document.write(obj.toString());</script>

    </body>
</html>
Jonathan Doklovic
February 1,
It works for me just fine. make sure that the path to the CSS file is correct. Without the CSS file you will get nothing on the screen. I tested with FF 1.5 and IE 6.0 and they look exactly the same in both.
Jim Hunter
February 1,
the css is being included properly.... I can see a bunch of "dropping declaration..." stuff in the FF javascript console fro the IE stuff it doesn't like
Jonathan Doklovic
February 2,
actually, just downloaded RC1 and it seems to have corrected it.
Jonathan Doklovic
February 2,

This topic is archived.

See also:


Back to support forum