Announcement

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

    TreeGrid getOpenState and setOpenState seem to have problems

    SmartClient Version: v9.1p_2014-03-20/PowerEdition Deployment (built 2014-03-20)
    GWT 2.5.1
    IE-11

    I have a TreeGrid that is 3 levels deep. When do TreeGrid.getOpenState() the value coming back consistently misses the last node open.

    And then when I re-apply the OpenState (with the identical data) the Tree does not open to the state when I did a TreeGrid.getOpenState().

    This was working fine when we were on SmartGWT 2.x and seems to have broke since we upgraded to SmartGWT 4.1.
    Last edited by JLivermore; 10 Apr 2014, 06:52.

    #2
    This is working in our testing. Can you show us how to reproduce this problem, either with one of our samples or with a test case we can run locally?

    Thanks
    Isomorphic Software

    Comment


      #3
      Will do, thanks.

      Comment


        #4
        The issue with getting the Open State from the TreeGrid and it was missing the last node open was a timing issue with the event I was using - FolderOpenedHandler and FolderCloseHandler appear to fire before the nodes change, so that is why I was missing the last node event.

        Applying the Open State now works fine in the 4.x release after I removed the isOpen and isFolder attributes from the records returned from the fetch.

        Comment

        Working...
        X