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
Working hours per owner problem
posted

Hello, I am trying to view several owners in DayView, MonthViewSingle and WeekView. If I set different working hours for each owners, everything is fine in DayView, I can see difference between owners' working and non working days,  but nothing happens in WeekView and MonthViewSingle, working and non working days are same for all users.. I have this line of code for every day if it's non working day

owner.DayOfWeekSettings[DayOfWeekEnum.Monday].IsWorkDay = DefaultableBoolean.False;

What could be the problem ? I saw your Owner DateSettings sample, but you are only working with Timeline and DayView.

  • 48586
    posted

    Hello, ­­­­­

     

    I am just checking about the progress of this issue. Let me know If you need my further assistance on this  issue?

     

    Thank you for using Infragistics Components.

  • 48586
    Suggested Answer
    posted

    Hello ,

    If you are set OwnerDisplayStyle of UltraMountViewSingle and UltraWeekView to Separate, you could use DrawFilter in order to modify a color for NonWorking day per owner. I have created small sample in order to demonstrate this approach. Please run the sample and let me know if this is what you are looking for.

    Please let me know if you have any further questions.

    85796.zip