This is a migrated thread and some comments may be shown as answers.

Resource databinding

1 Answer 174 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Kevork
Top achievements
Rank 2
Kevork asked on 30 Mar 2016, 03:05 AM

How can I convert the following MVC scheduler's code to kendo syntax? I am converting Telerik MVC scheduler to kendo scheduler.

 

.Group(group => group.Resources("Techs").Orientation(SchedulerGroupOrientation.Vertical))                                    .Resources(resource =>
{
   resource.Add(m => m.TechName)
   .Title("Techs")
   .Name("Techs")
   .DataTextField("TechName")
   .DataValueField("emm_code")
   .DataColorField("Color")
   .DataSource(d => d.Read("Techs", "JOBS"));
})

 

Thanks.

1 Answer, 1 is accepted

Sort by
0
Patrick | Technical Support Engineer, Senior
Telerik team
answered on 30 Mar 2016, 03:31 PM
Hello Kevork,

I recommend taking a look at our helpful Kendo Scheduler's documentation.  You will find what you need there to help you convert from Kendo MVC to Kendo UI.  

For example:
.Group(group => group.Resources("Techs").Orientation(SchedulerGroupOrientation.Vertical))

Look at group.resources and group.orientation to find more about each configuration.

Hope this helps steer you in the right direction.

Regards,
Patrick
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
Kevork
Top achievements
Rank 2
Answers by
Patrick | Technical Support Engineer, Senior
Telerik team
Share this question
or