Announcement

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

    ListGrid fixed column giving javascript error on mouseover

    Hi,

    I have a listGrid with a field that is frozen and does not have a headerContextMenu.

    The field is defined as below.

    Code:
           setCanEdit(false);
            setWidth(20);
            setCanFilter(false);
            setCanSort(false);
            setCanGroupBy(false);
            setCanHide(false);
            setFrozen(true);
            setShowHover(true);
    When I put the mouse over the header of the field, I get the attached error in development mode and a javascript error in production mode (length is null or not an object).

    Note that I am using:
    SmartGWT 1.3 revision 800
    Internet Explorer 7 (Error does not appear in FireFox)
    GWT 1.6.4

    Thanks for any help!
    Attached Files

    #2
    It looks like you've overridden the getHeaderContextMenuItems and are returning null. Try returning an empty list/array instead. We've changed the framework to handle either case in the future.

    Comment

    Working...
    X