3.2.0

Redefining row/template

Hi guys. I'm trying to combine the expandIt() functionality that someone posted (Carlos?) with the pagination files that are shipped with AW. Things break though because in paging1.js there is a function

Active.Rows.Page.create = function(){

which redefines some of the row properties. Template is not one of those redefined so I added it like:

obj.defineProperty("template", function(){return this.$owner.getProperty("data/template")});

The problem is, when it's called the returned object does not have a .element() for me to access.

For example:

currentRow=src.getProperty("row/template",currentRowIndex);
currentRowElement=currentRow.element();

Does anyone know the correct way to define row/template?

Thanks!
May 9,

This topic is archived.

See also:


Back to support forum