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

Resource Row Checkbox or Multiple Row Select in Timelineview

4 Answers 63 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 14 Nov 2014, 03:28 PM
We're building an application using the RadScheduleView in timelineview only.  We have a long list of dynamic resources which are staff people.  I'm looking for a way to select one or several rows in the timeline view.  Say, for instance, I want to select 7 different staff in the scheduleview, either by clicking on the row or maybe selecting a checkbox (or both), and then perform some action on the selected rows/staff/resources (such as a batch edit or delete, etc).
Is there any way to make this happen with the scheduleview in timeline mode?  This is critical to the application we're building, so I'm hoping there is some way to do it.  Thanks!

4 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 18 Nov 2014, 03:52 PM
Hi Scott,

In order to achieve a similar to the described and desired functionality you could modify the GroupHeaderTemplateSelector by adding a button into the GroupHeader and handle its Click event. We have created a sample project that demonstrates how to select all appointments of a specific Resource using the Click event of the button and based on it you could implement your own custom logic in order to achieved the desired. Please, give it a try.

We hope this will help you.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Scott
Top achievements
Rank 1
answered on 03 Dec 2014, 11:11 PM
Thank you Nasko, this works well.  I am running into one issue though.  I currently have two seperate group descriptions / resource types that I and binding the scheduleview to, so when I modify the templateselector as in your example, the checkbox I add to it is appearing next to both "columns" instead of just one.  I only want it to appear next to the staff person's name, but it's appearing next to both staff and office.  Can I somehow specify in the template that I only want it to appear in the first group description/resource type?  Thanks again!
0
Accepted
Nasko
Telerik team
answered on 05 Dec 2014, 11:50 AM
Hi Scott,

In order to achieve the desired appearance of the GroupHeaders you could create a custom GroupHeaderContentTemplateSelector. Please, check the following article in our help documentation that provides more detailed information:
http://www.telerik.com/help/wpf/radscheduleview-styles-and-templates-templating-groupheaders.html

We have also created a sample project that demonstrates the described in the article approach. Please, give it a try and let us know if it worked for you.

We hope this will help you.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Scott
Top achievements
Rank 1
answered on 05 Dec 2014, 06:15 PM
Thanks again, this worked perfectly!
Tags
ScheduleView
Asked by
Scott
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Scott
Top achievements
Rank 1
Share this question
or