Resource databinding

2 posts, 0 answers
  1. Kevork
    Kevork avatar
    39 posts
    Member since:
    May 2015

    Posted 29 Mar Link to this post

    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.

  2. Patrick
    Admin
    Patrick avatar
    171 posts

    Posted 30 Mar Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top