Even in simple code, as shown below, I'm getting unexplicable undefined javascript exception errors like "Cannot call method 'Array' of undefined stack". This happens in Firefox, Chrome and IE while debugging and after compilation. This seems more like a bug than any error on my part, but any advice would be appreciated.
tileGrid.addClickHandler(new ClickHandler()
{
public void onClick(ClickEvent event)
{
try
{
Record[] r = tileGrid.getSelection();
}
catch (Exception e)
{
Window.alert(e.getMessage());
}
}
});
Edit: SmartGWT 2.3 and tested on FF 3.6.12, IE8 and Chrome 7.0.517.44.
tileGrid.addClickHandler(new ClickHandler()
{
public void onClick(ClickEvent event)
{
try
{
Record[] r = tileGrid.getSelection();
}
catch (Exception e)
{
Window.alert(e.getMessage());
}
}
});
Edit: SmartGWT 2.3 and tested on FF 3.6.12, IE8 and Chrome 7.0.517.44.
Comment