:: Forum >>

Beta4 breaks my setEditorTemplate code - Please help

I was using code in beta3 to associate a combo box with a grid cell. When the user double clicked to edit the grid cell the combo box would display.

Here is that block of code:
var AccessCombo = new AW.UI.Combo;
AccessCombo.setItemText(["Active","Inactive"]);
AccessCombo.setItemCount(2);
grid.setEditorTemplate(AccessCombo, 6);


The last line is the one causing the problem. I know the cell editing changed in beta 4 but I don't know what I should use instead.

I've searched the forum and examples but didn't find a beta 4 sample.

Thanks,
Rob
Rob Francis
Saturday, January 21, 2006
The same problem exists in RC1.

Perhaps one need to define an action that will switch the template (setCellTemplate) to that of the combo.
Neil Craig
Tuesday, June 6, 2006

This topic is archived.


Back to support forum

Forum search