Announcement

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

    listgrig.getViewState throws js exception

    im using a nightly build of sgwt ee from 21.03.11

    when i call that method i get
    this.getGroupByFields() is undefined

    Is it a bug?

    thanks

    #2
    anyone? this is really weird! :\

    Comment


      #3
      BTW - tried to clean and recomiple, but did not help.

      Is happens when i call getViewState on a grid. feels like a bug.

      Comment


        #4
        another guess - maybe the format or something like this of that string has changed from thi feature release?
        because what first happens is setting the grid to the ViewState that the user has already.

        and i call the getViewState method only when he changes his view state again.

        Isomorphic?

        Comment


          #5
          this happens only when there is no group-by field defined.

          clearly a bug.

          Comment


            #6
            No need to keep posting guys. A minimal standalone test case is what we need.

            Comment


              #7
              it is a problem for us to copy code to here, but what we do
              is very simple.

              there is a grid with no gorup-by field configured. and when we call
              the getViewState it throws a js exception.

              when we set a field to group by, it solves the problem.

              Comment

              Working...
              X