Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TileGrid getSelection() throwing exceptions

    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.
    Last edited by TCPIP; 1 Dec 2010, 07:58.

    #2
    Always include the SmartGWT or SmartClient version and the browser(s) tested.

    Comment

    Working...
    X