:: Forum >> Version 2 >>

Event handlers (onCellClicked) not called for checkbox in grid

Hi,

I have a grid that has a row of checkboxes in it. The onCellClicked, onCellEditEnded, etc events all work fine for the text cells, but they are not called for the checkbox cells.

Here is an example:
var obj= new AW.UI.Grid;
obj.setSize(700400);

obj.setCellEditable(true);

obj.setColumnCount(25);
obj.setRowCount(25);

var 
checkbox= new AW.Templates.Checkbox;
obj.setCellTemplate(checkbox3);


document.write(obj);



obj.onCellEditEnded = function()
{
    
alert("edit");
}

obj.onCellClicked = function(eventcolumnrow)
{
    
alert("click");
}
 
Does anyone know what the proble might be?

Thanks,
Stuart
Stuart
Thursday, May 3, 2007



This topic is archived.

Back to support forum

Forum search