Announcement

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

    Calendar problem when layoutChildren

    Hello,

    there is a problem with the calendar widget, when the calendar resized.

    We have SectionStack with 3 sections. The calendar is in the second section. Section 1 + 3 are closed, section 2 is open and shows some events in the calendar.

    Now I open section 1 and call a filterData on the calendar, so that some events will disapear from the calendar. Then I close the first section.

    Now I get a problem in Calendar::sizeEventWindow: (see screenshot CalendarBug)
    "Uncaught TypeError: Cannot read property 'undefined' of null"

    The problem is, that because poolEventWindows=true, the eventsWindows was not deleted, when the dataChanged.

    layoutChildren iterate over all children of the canvas (here the weekView), but the not visible children have event=null.

    Sie also the StackTrace in the attached files.

    Thanks

    Peter
    Attached Files

    #2
    We are using the current nightly build of SmartGWTPro 4.1.

    Comment


      #3
      Please show a standalone testcase that demonstrates the issue.

      Comment


        #4
        Actually, we've made a change to address this - please retest with a build dated October 22 and, if you still see issues, *then* provide a test case.

        Comment


          #5
          The problem is solved in the actual nightly build.

          Thank you.

          Comment

          Working...
          X