Redraw scheduler on create event

4 posts, 0 answers
  1. Jon
    Jon avatar
    53 posts
    Member since:
    Oct 2013

    Posted 20 Jul Link to this post

    I am using an Event Template that does not have the end datetime visible to the end user. The actual end datetime is calculated based on other dropdown selections made which give a duration for the task that is then added to the start datetime.

    The event creation works fine but initially the event block only occupies the default slot for the view (e.g. 30mins for the day, week views). If I change the view (advance a day say) and then return back the block now correctly occupies the time slots associated with its start/end datetimes.

    How can I get the scheduler to redraw the block when created?

  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 21 Jul Link to this post

    Hello Jon,

    I tried to reproduce this behavior but to no avail - when I save the created event the event is rendered as expected. Could you please provide rubable example where the described behavior is reproduced for further investigation?

    Regards,
    Vladimir Iliev
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
  4. Jon
    Jon avatar
    53 posts
    Member since:
    Oct 2013

    Posted 10 Aug in reply to Vladimir Iliev Link to this post

    I forgot to mention that my end time calculations were being done server side. I have now transposed this code to the client and the events are being created with the correct 'length'.

     

  5. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 11 Aug Link to this post

    Hi Jon,

    I tried to reproduce the described scenario of modification of the dates on the server side, during the "create" action, however when the modified event is correctly returned it's updated immediately in the view as well. Please check the following example which simulate server requests using functions as read / create operations:


    Regards,
    Vladimir Iliev
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready