3.0.0

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(700, 400);

obj.setCellEditable(true);

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

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


document.write(obj);



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

obj.onCellClicked = function(event, column, row)
{
    alert("click");
}


Does anyone know what the proble might be?

Thanks,
Stuart
Stuart
May 3,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.