3.2.0

Combo in cell

I want to activate a combo when the user starts editing the cells from one specified column (grid.onCellEditStarted), just like bellow:

grid.onCellEditStarted = function(text, col, row){
var xcombo = new AW.UI.Combo;
xcombo.setControlText(text);
xcombo.setItemText(names);
xcombo.setItemCount(20);
grid.setCellTemplate(xcombo, col, row);
grid.refresh();
}

On the first cell that I want to edit, it opens the combo but i don't know how to close it (because I want to validate the content and write it in the current cell), when I select another cell.

Can anyone help please
Ciprian.
July 4,
sorry, i've found the answer at...
http://www.activewidgets.com/javascript.forum.17441.2/combo-box-help.html
Ciprian.
July 4,

This topic is archived.

See also:


Back to support forum