3.0 beta 2

Porting Active.Controls.Grid (v1.0) to AW.UI.Grid (v2.0)

Does anyone have a guide to porting a grid from 1.0 to 2.0?

I can offer the following substitutions, but it's far from complete. Can anyone add to it - in particular event handlers, actions, templates...

FILE NAMES:
runtime/styles/classic/grid.css -> runtime/styles/xp/aw.css
runtime/lib/grid.js -> runtime/lib/aw.js

OBJECT NAMES:
Active.Controls.Grid -> new AW.UI.Grid
Active.Formats.* -> AW.Formats.*

GRID PROTOTYPE FUNCTION NAMES:
setDataText -> setCellText
setDataValue -> setCellValue
setDataImage -> setCellImage
setColumnText -> setHeaderText
setColumnHeaderHeight -> setHeaderHeight
setRowHeaderWidth -> setSelectorWidth
setSelectionProperty("multiple", false) -> setSelectionMode("single-row")

CSS STYLES:
.active-* -> .aw-*
macabstract
March 13,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.