Virtual Mode XML dataset

Why it doesn't work with IE, there is a xml file with many blocks, with firefox it works perfectly.

This is the page source:
    <title>ActiveWidgets Grid :: Examples</title>
    <style> body, html {margin:0px; padding: 0px; overflow: hidden;} </style>

    <!-- ActiveWidgets stylesheet and scripts -->
    <link href="../../runtime/styles/xp/aw.css" rel="stylesheet" type="text/css" ></link>
    <script src="../../runtime/lib/aw.js"></script>

    <!-- grid format -->
        .aw-grid-control {height: 40%; width: 100%; border: none; font: menu;}

        .aw-column-0 {text-align: left;}
        .aw-column-1 {text-align: left;}
        .aw-column-2 {text-align: left;}
        .aw-column-3 {text-align: left;}
        .aw-column-4 {text-align: left;}
        .aw-column-5 {text-align: left;}
        .aw-column-6 {text-align: left;}
        .aw-column-7 {text-align: left;}
        .aw-column-8 {text-align: left;}

        .aw-grid-cell {border-right: 1px solid threedshadow;}
        .aw-grid-row {border-bottom: 1px solid threedlightshadow;}
        	.aw-alternate-even {background: #eeeeee;}

<body onresize="obj.setControlSize(document.body.clientWidth-8,document.body.clientHeight-36)">

    //	create data formats
    var string = new AW.Formats.String;
    var number1 = new AW.Formats.Number;
    var number2 = new AW.Formats.Number;
    var date = new AW.Formats.Date;

    //	define formatting rule for text output

    date.setTextFormat("dd mmm yy");

    //	create ActiveWidgets data model - XML-based table
    var table = new AW.XML.Table;

    //	provide data URL

    //	set rows XPath

    //	set columns XPath
    table.setColumns(["MArtikelNr", "ArtikelNr",

    //	start asyncronous data retrieval

    //	define column labels
    var columns = ["MArtikelNr", "ArtikelNr",

    //	create ActiveWidgets Grid javascript object
    var obj = new AW.UI.Grid;


    //Virtual Mode

    //	provide column labels

    //	enable row selectors
    obj.setSelectorText(function(i){return this.getRowPosition(i)});

    //	set row selection

    //	set column formatting
    obj.setCellFormat([string, string,number1,number1,

    //	provide external model as a grid data source

    //	write grid html to the page


Any hints???
Maybe is wrong the Virtual Mode call? I want that it shows 25 rows.
Thank you in advance
February 20,
The real problem is always the xml file that is too large. How can I avoid this problem without cutting the file?
February 20,

This topic is archived.

See also:

Back to support forum