Sizing and scrolling

3 posts, 0 answers
  1. Rob
    Rob avatar
    17 posts
    Member since:
    Feb 2012

    Posted 07 Oct 2013 Link to this post

    I am having a couple of issues regarding scrolling and sizing of the gant control.

    As you can see from my attached screen shot I have 3 tasks bound to the control. I am unable to scroll the right panel horizontally to view 2 out of the 3 tasks. Not sure what I'm doing wrong?

    I'm also having an issue stretching the control to fill the grid cell.

    Many thanks.
  2. Polya
    Admin
    Polya avatar
    200 posts

    Posted 08 Oct 2013 Link to this post

    Hello Rob,

    The RadGanttView visible range is set through the VisibleRange dependency property. The default value of this property is a DateRange of one week. Setting it to a suitable DateRange enables scrolling to the end of the VisibleRange.
    Please find attached a sample project that binds the VisibleRange to a property from the ViewModel. The value of this property is a DateRange that encompasses the DateRanges of all tasks in the TasksSource of the RadGanttView.

    Hopefully this helps. Feel free to contact us with any further problems or concerns.

    Regards,
    Polya
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Rob
    Rob avatar
    17 posts
    Member since:
    Feb 2012

    Posted 14 Oct 2013 Link to this post

    Hi Polya,

    That works wonderfully - many thanks.

    Rob
Back to Top