How can I load data on Vertical Grouping Scheduler

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

    Posted 04 Jun 2015 Link to this post

    Hello,

    I have loaded data in Horizontal grouping Scheduler but could not load into vertical grouping scheduler. Grouping are showing correctly but no data is coming into the cells. 

    Can you please give me the sample of "Vertical_Read" and "Vertical_Create" action methods?

    Here is my scheduler vertical grouping's razor code:

                         @(Html.Kendo().Scheduler<TaskViewModel>()
                            .Name("schedulerVertical")
                            .Selectable(true)
                            .Date(new DateTime(2015, 5, 24))
                            .StartTime(new DateTime(2015, 5, 24, 7, 00, 00))
                            .Height(600)
                            .Views(views =>
                            {
                                views.DayView();
                                views.WeekView(weekView => weekView.Selected(true));
                                views.MonthView();
                                views.TimelineView();
                            })
                            .Timezone("Etc/UTC")
                            .Group(group => group.Resources("Skills", "Techs").Orientation(SchedulerGroupOrientation.Vertical))
                            .Resources(resource =>
                            {
                                resource.Add(m => m.SkillID)
                                    .Title("Skills")
                                    .Name("Skills")
                                    .DataTextField("SkillName")
                                    .DataValueField("SkillID")
                                    .DataColorField("Color")
                                    .DataSource(d => d.Read("Skills", "Scheduler"));
                                resource.Add(m => m.Techs)
                                    .Title("Techs")
                                    .Name("Techs")
                                    .Multiple(true)
                                    .DataTextField("TechName")
                                    .DataValueField("TechID")
                                    .DataSource(d => d.Read("Techs", "Scheduler"));
                            })
                            .DataSource(d => d
                                    .Model(m =>
                                    {
                                        m.Id(f => f.MeetingID);
                                        m.Field(f => f.Title).DefaultValue("No title");
                                        m.RecurrenceId(f => f.RecurrenceID);
                                        m.Field(f => f.Title).DefaultValue("No title");
                                    })
                                    .Read("Vertical_Read", "Scheduler")
                                        .Create("Vertical_Create", "Scheduler")
                                        .Destroy("Vertical_Delete", "Scheduler")
                                        .Update("Vertical_Update", "Scheduler")
                            )
                        )

     

     Can you please give me the sample of "Vertical_Read" and "Vertical_Create" action methods?

  2. Kevork
    Kevork avatar
    39 posts
    Member since:
    May 2015

    Posted 04 Jun 2015 in reply to Kevork Link to this post

    Here is the scheduler vertical grouping.

     

    There are sample code of Read action method but there is no definition of or structure or GetAll method there.

  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Answer
    Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 04 Jun 2015 Link to this post

    Hi,

    I already answered to this query in duplicated support ticket created by you - #941276. Please keep in mind that it is highly recommended that you keep related questions in one support thread or a forum post, so that we can easily keep track of your support history and provide better answers in a shorter time.

    Regards,
    Vladimir Iliev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top