Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1080
DayView horizontal scrollbar
posted

Hi, is there any way to set horiznotal scrollbar in dayview to be always visible. The problem is, let's say I have 3 owners in view, and I have a track bar to control number of owners in view. If I move track bar to 2, I can see 2 owners, but there is no horizonta scroll bar to see 3. one. But as soon as I change the size of window, dayview repaint itself and shows horizontal scrollbar. I used:

PlanerDayView1.GroupingStyle = Infragistics.Win.UltraWinSchedule.DayViewGroupingStyle.OwnerWithinDate;
PlanerDayView1.ColumnScrolling = DayViewColumnScrolling.ColumnsWithinGroupsOnly;

PlanerDayView1.PreferredInViewColumnCount = trackBar.Value;

PS. I managed to show scrollbar by setting dock property of dayview to none, and after that to fill, in track bar value change metod. Dayview changes size, and show scrollbar, but this is a hack, and I don't like it. Is there any other way ?

Parents
No Data
Reply
  • 29105
    Verified Answer
    Offline posted

    Hello,  

    The horizontal scrollbar appears only if there isn't enough room to show all the owners. If you set the DayView's minimumColumnWidth property to make it so that the sum of all the owner's width are larger than the real-estate of the control then the horizontal scroll bar will always be visible.

    I recommend submitting a feature request to enable scrollbars to visible always. Please visit our ideas page at ideas.infragistics.com

     

     

Children
No Data