3.0.0

Error on editing twice

I just code two buttons

--(enable-edit)--
var templateedit = new My.Templates.Input;
obj.setColumnTemplate(templateedit)

--(disable-edit)--
var templatenoedit = new Active.Templates.Text;
obj.setColumnTemplate(templatenoedit)

The first time I enable then disable everythig ok , but when I try to enable again I get:
---- error line 36 editor.element().value is null or not an object --

Another issue ( no relation the above at all )is that when editing a cell, if I press column-header (calling a function inside) the value of the .innerHTML (untill losting focus) is not yet into obj.getProperty("data/text", x, y), so, How could this value be called ? or, How must lost-focus forced to be fired?
Thanks
Carlos
Carlos
September 16,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.