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

Hide non working hours in TimelineView

3 Answers 134 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 11 Oct 2011, 05:50 PM

Hi all,
Is there a way to hide non working hours in TimelineView with Timescales.Hours/HalfHours/Minutes
 
e.g. collapse Columns before and after the WorkTime-Timespan - thus allowing shorter drag+Drop movements

|  Day  1                                               |   Day  2                                             |                             
|  08  09  10  11 12  13  14  16  18  20|  08  09  10  11 12  13  14  16  18  20|

Currently I call my own RenderView() method which loops over all visible cells

void ActiveView_PropertyChanged(object sender, PropertyChangedEventArgs e)
{
          switch (e.PropertyName)
        {
            case "StartDate":

It would be more convinient to subscribe to a ElementRender Event and set the background color there - like the one exposed in RadCalendar.

3 Answers, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 13 Oct 2011, 12:20 PM
Hello Daniel,

Thank you for contacting us.

Currently, collapsing the cells in TimelineView is not supported by RadScheduler. If more people request such functionality, we will consider implementing it in a future release.

As to an equivalent of the ElementRender event, we are planning to introduce a CellFormatting event in the next official release. This event will allow you to set properties of the cell elements when they are displayed.

I hope you find this information useful. Feel free to ask if you have any additional questions.

Best wishes,
Ivan Todorov
the Telerik team

Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

0
AMF
Top achievements
Rank 2
answered on 18 Dec 2012, 04:19 PM
Is this possible in the current version?
0
Ivan Todorov
Telerik team
answered on 20 Dec 2012, 12:00 PM
Hello AMF,

A CellFormatting event is available in the latest version. However, collapsing the cells in TimelineView is still not possible.

Should you have any other questions, feel free to ask.

All the best,
Ivan Todorov
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
Scheduler and Reminder
Asked by
Daniel
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
AMF
Top achievements
Rank 2
Share this question
or