Upgrading from V1.0 to V2.0

I am in the process of upgrading from V1.0 to V2.0 but am having trouble understanding what to do with my templates. I have the following V1.0 code but I am unsure of how to convert it to V2.0:

var rowTemplate_" + gridID + " = new Active.Templates.Row
obj_" + gridID + ".setTemplate('row', rowTemplate_" + gridID + ");

The closest equivalent I can see is AI.Templates.Cell but it does not seem to be an exact match.

Any ideas how I can make a good transition?

Mark Donnelly
July 25,
Dont worry people, I found the solution.

Use AI.Grid.Row instead ...

It just wasnt intuitive to find in the documentation.
Mark Donnelly
July 25,

This topic is archived.

See also:

Back to support forum