Data is not binding with resources in Scheduler

1 Answer 94 Views
Scheduler
Developer
Top achievements
Rank 1
Developer asked on 04 Dec 2021, 11:57 PM

Due to some reason data is not binding if I add "resources" in scheduler.

Please find the attachments for code and result.

1 Answer, 1 is accepted

Sort by
0
Accepted
Neli
Telerik team
answered on 08 Dec 2021, 02:08 PM

Hi,

In order for the data to be loaded please use the HTTPS url as demonstrated in our Demos. Also, the resources field should point to the respective field in the schema model:

resources: [
            {
                field: "ownerId",
                title: "Owner",
                dataSource: [
                    { text: "Alex", value: 1, color: "#f8a398" },
                    { text: "Bob", value: 2, color: "#51a0ed" },
                    { text: "Charlie", value: 3, color: "#56ca85" }
                ]
            }

Here you will find a Dojo example where the resources are loaded as expected.

I hope this helps.

Regards,
Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Scheduler
Asked by
Developer
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or