Announcement

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

    Smartclient 9.1d Calendar Notes

    Hi,
    I am using a 9.1d build of one week ago. I noticed the following things in the Calendar.js, maybe you can comment:
    - If "showDayLanes: true", then, clicking, in week view, in a day of the week header, it doesn't goes to the day view of the clicked day. If showDayLanes is not present, it works. It should work in both cases.
    - the DateChooser autochild can not be customized by setting the DateChooserConstructor, see the relevant code in Calendar.js, a direct call to isc.DateChooser.create is done to create the autochild
    - there is both a getNewEventWindow as well as a _getNewEventWindow method, not sure if how/they are used in parallel?
    - It would be great if I can control on event level if I can change the lane. This is for example relevant when I want to model a break which can be moved around for one resource but it can't be moved to another resource. Is there a good workaround for me on this one?
    - not related to calendar, but I have a combo with a datasource with locally loaded data, when I call: combo.getOptionDatasource().setCacheData(data) with a new data set then the picklist stills shows the old dataset, is there another way I should set the cache data or refresh the picklist?

    gr. Martin
    Last edited by martintaal; 17 Sep 2013, 05:36.

    #2
    On your points:

    1) this is fixed for today's 4.1 build (9/18)

    2) these are internal methods and should not be worked with directly (one at the Calendar level, and one at the timelineView level).

    3) this is fixed for today's 4.1 build (9/18)

    4) to clarify what you need - you essentially want a flag that will limit arbitrary events to the lane in which they live, but still allow them to be edited and dragged around within that lane, right? there's no current way to do this for some events and not others, but we will add calendarEvent.canEditLane in the next day or so

    5) if you want all components bound to this optionDataSource to refresh, you can use DataSource.updateCaches() with dsResponse.invalidateCache set to true.

    Comment


      #3
      1) Is not fixed in 18-Sep nightly.

      Comment


        #4
        That's because these 5 items have changed since the list was first posted (or, since the original post, which has now been deleted) :)

        The #1 on this list was not on the original list, so it hasn't yet been looked at.

        In fact, the original list had a separate item which is no longer there, but which has now been addressed in the framework:

        "I created a calendar with lanes in dayview (showDayLanes), when the calendar is in weekView and i update the lanes by calling setLanes then the lanes are not updated (I see this when I move to dayview after setLanes). When in dayview and calling setLanes works fine."

        So, to clarify, as regards the points in THIS thread, we'll look into the new #1 in the next day or so, #2 is already fixed, #3 are internal methods and should not be worked with directly, and the answers to #4 and #5 remain the same.
        Last edited by Isomorphic; 18 Sep 2013, 11:46.

        Comment


          #5
          Yes, I removed this item from the list because it was already fixed, and I introduced the new #1.

          Let me know when the new #1 be fixed.

          Thanks and sorry about the confusion

          Regards.

          Comment


            #6
            Your point #1 has now been addressed in the framework - please retest with a nightly build dated September 21 or later

            Comment

            Working...
            X