:: Forum >>

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!
Monday, May 9, 2005

This topic is archived.


Back to support forum

Forum search