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

Scheduler timeline groupby

0 Answers 25 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
vairam
Top achievements
Rank 1
vairam asked on 23 Jul 2009, 09:12 AM
Hi
My problem is i want the grouping only in the timeline view not in the monthly,day,weekly view .But i want to disply all the views in view tab.
My datatable like this

  LinkTitle                     EventDate                   EndDate                     FieldID

company meeting        01/15/2009 08 AM     01/15/2009 09 AM        1
company meeting        01/22/2009 08 AM     01/22/2009 09 AM        2
company meeting        02/22/2009 08 AM     02/22/2009 09 AM        3
Status meeting            01/22/2009  10 AM     01/22/2009 11 AM        4
Status meeting            01/26/2009  10 AM     01/26/2009 11 AM        5

in monthview i want all the meeting(5) should display but in the timelineview i want only two row(company meeting,Status meeting).
But i am getting five rows.
I want like this .
http://demos.telerik.com/aspnet-ajax/scheduler/examples/timelineview/defaultcs.aspx
This is my code

_radScheduler.DataSource = dtFinalResult;
                _radScheduler.DataKeyField = "FieldID";
                _radScheduler.DataSubjectField = "LinkTitle";
                _radScheduler.DataStartField = "EventDate";
                _radScheduler.DataEndField = "EndDate";
                _radScheduler.DataBind();

                ResourceType resourcetype=new ResourceType();
                resourcetype.Name = "MPPScheduler";
                resourcetype.DataSource = dtFinalResult;
                resourcetype.KeyField = "FieldID";
                resourcetype.TextField = "LinkTitle";
                resourcetype.ForeignKeyField = "FieldID";
                radScheduler.Resourcetypes.Add(resourcetype);          
                _radScheduler.TimelineView.GroupBy = "MPPScheduler";
                _radScheduler.TimelineView.GroupingDirection = GroupingDirection.Vertical;
                _radScheduler.TimelineView.HeaderDateFormat = "MMM-dd";

What is the problem?

Regards
Vairam


No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
vairam
Top achievements
Rank 1
Share this question
or