Hide non working hours in TimelineView

4 posts, 0 answers
  1. Daniel
    Daniel avatar
    19 posts
    Member since:
    Nov 2010

    Posted 11 Oct 2011 Link to this post

    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.

  2. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 13 Oct 2011 Link to this post

    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.

  3. UI for WinForms is Visual Studio 2017 Ready
  4. AMF
    AMF avatar
    34 posts
    Member since:
    Mar 2011

    Posted 18 Dec 2012 Link to this post

    Is this possible in the current version?
  5. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 20 Dec 2012 Link to this post

    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.
Back to Top