:: Forum >>

imageText template error .refreshcontents is not a function

Alex,

In both IE and FireFox I'm getting an error in the imagetext.js module

Error: this.getContent("box/text").refreshContents is not a function
Source File: http://medoc/Lib/_AW/templates/imagetext.js
Line: 62

A problem in 2.5.1 (not in 2.0.2) for same code.

With imagetext cells in a grid.

Any help much appreciated.

Cheers

Charles.
Charles Dean
Friday, December 14, 2007
This may happen if you replace box/text span with an empty string, so instead of

cellTemplate.setContent("box/text", "");

use

grid.setCellText("", columnIndex);
Alex (ActiveWidgets)
Thursday, January 10, 2008
Alex,

Worked like a charm. Sorry for blaming your code :)

Thanks

Charles.
Charles Dean
Monday, January 28, 2008

This topic is archived.


Back to support forum

Forum search