Announcement

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

    ListGrid.freezeField throws uncought JS exception (and freezes app, not field ;)

    When I call ListGrid.freezeField(fieldname), I get an uncaught JavaScript exception [_2 is null] in ISC_Grids.js, line 2097. Nothing is printed on the developer console.

    This is SmartGWT-EE Eval, nighy build 2010-02-09.

    I call freezeField just after the DS is bound. The field name I specify as parameter is correct, I can get the field using getField() and it exists.

    What could be wrong?

    #2
    The freeze happens even if I do not use freezeField dynamically, just set "frozen=true" on the field in the DS XML.

    The line number (where the freeze happens) is different in this case:

    Uncaught JavaScript exception [_6 is undefined] in [...] ISC_Grids.js, line 1587

    Comment


      #3
      This was fixed on the 9th itself so try picking up a more recent build.

      Sanjiv

      Comment


        #4
        Just upgraded to latest build.

        Specifying frozen=true in DS XML still throws exception.

        Calling freezeField does not throw exception, but does not freeze the column.

        Freezing the column from the header context menu works OK.

        Comment


          #5
          The solution describen at http://forums.smartclient.com/showthread.php?t=9719 worked for this, too.

          Comment

          Working...
          X