Grouping in scheduler doesn't work when setting data directly

2 posts, 1 answers
  1. Christiaan
    Christiaan  avatar
    2 posts
    Member since:
    Apr 2014

    Posted 08 Oct Link to this post

    I have a problem grouping the schedule. In the sample http://demos.telerik.com/kendo-ui/scheduler/resources-grouping-horizontal it shows how to achieve this, but if I replace the datasource with an array, it doesn't work anymore. As soon as I remove the grouping attribute the events show up in the scheduler.

    You can find the repro in this dojo: http://dojo.telerik.com/UCUle/7. This has two scheduler controls, which are exact copies of each other, only the group is different. 

    What am I doing wrong?

  2. Answer
    Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 10 Oct Link to this post

    Hello Christiaan,

    After checking the provided demo it appears that the reason for current behavior is the group configuration - the filed name is mistyped with lowercase "d". Please check the updated configuration below:

    resources: ["roomID"]

    On a side note I would like to remind you that without defining the Scheduler dataSource "schema.model" option the editing is not supported. You should either define this option or disable the Scheduler editing to avoid unexpected behavior. 

    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
Back to Top