3.0 beta 2

this is a bug or my code is wrong?

    <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: 100%; width: 100%; border: none; font: menu;}

        .aw-column-0 {width:  80px;}
        .aw-column-1 {width: 200px; background-color: threedlightshadow;}
        .aw-column-2 {text-align: right;}
        .aw-column-3 {text-align: right;}
        .aw-column-4 {text-align: right;}

        .aw-grid-cell {border-right: 1px solid threedshadow;}
        .aw-grid-row {border-bottom: 1px solid threedlightshadow;}

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

    //	define data formats
    var str = new AW.Formats.String;
    var num = new AW.Formats.Number;

    table.setFormats([str, str, num, num, num]);

    //	provide data URL

    //	start asyncronous data retrieval

    //	define column labels
    var columns = ["Ticker", "Company Name", "Market Cap.", "$ Sales", "Employees"];

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


    //	provide column labels

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

    //	set row selection

    //	provide external model as a grid data source

    //	write grid html to the page

    var panel = new AW.HTML.SPAN;

December 22,
It would be nice if you could tell us what you think is wrong. You don't walk into the doctors office and have your first comment be "what's wrong with me" before telling the doctor what your symptoms are.
Jim Hunter
December 22,
you may copy the code and run in browser,click the row and the row will missing,but i change this


and it will work well
December 22,
my browser is ie6
December 22,

This topic is archived.

See also:

Back to support forum


Version 2

Looking for AW 2.6 ?
The old site is here.