3.0 beta 2

Rows

The grid rows are accessible via rows collection.

Assign data directly to rows

It is possible to initialize rows collection with an array of data (only recommended for most simple cases - use data binding instead).

var rows = [
    ["Guy Powell", "330-6602 Laoreet Street", "Cheyenne", "35552"],
    ["Madeline Cross", "#517-8115 Cras Av.", "Bloomington", "76974"],
    ["Teagan Hicks", "P.O. Box 617, 7256 Sed Rd.", "Peutie", "77245"]
];

var grid = new AX.Grid({
    columns: 4,
    rows: rows
});

Configuration

var rows = {
    height: 25
};

var grid = new AX.Grid({
    rows: rows
});

Access

You can access individual rows via rows collection

var row = grid.rows().get(0);

or row() shortcut

var row = grid.row(0);

Styles

Use .ax-row selector to attach row styles (border and background layers) -

#myGrid .ax-row>.ax-border {
    border-bottom: 1px dotted #ccc;
}

#myGrid .ax-row.ax-1>.ax-background {
    background: #def;
}