2 schedule size question

6 posts, 1 answers
  1. John
    John avatar
    60 posts
    Member since:
    Nov 2006

    Posted 26 Feb 2013 Link to this post

    HI, i have 2 questions on the scheduler

    1.  how can i tell it to not stretch itself to fill the space it's in?  see the example shot.  the 4pm hour stretches to hit the bottom.  i don't want it to.  i want it to just take the row height i give it and it fill down as far as it needs to.  if needed, scroll bars appear etc.  it's in day view.

    2.  how can i set the width of resources in day view?  i have a day view that shows a single day.  it has multiple resources.  the users can choose between 2 options.  fit to window (which telerik scheduler seems to do by default) or hard code a size.  so if they say 400 px for each resource, all resource are 400 px wide and a horizontal scroll bar shows if they take up more space than the control has now.

    thanks!
  2. Svett
    Admin
    Svett avatar
    728 posts

    Posted 01 Mar 2013 Link to this post

    Hi John,

    The answers of your questions are:

    1. I managed to reproduce the issue and I logged it in our
    public issue tracking system. We will address it in one of the next releases. Meanwhile, I cannot give you work around due to internal implementation of RadScheduler.

    2. There is no way to change the width of the resources at this time.

    I updated your Telerik points accordingly.

    All the best,
    Svett
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Join us for a FREE webinar to see all the new stuff in action.

    Interested, but can’t attend? Register anyway and we’ll send you the recording.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. John
    John avatar
    60 posts
    Member since:
    Nov 2006

    Posted 01 Mar 2013 Link to this post

    thanks svett.  do you have any plans or would you consider allowing us to change the width of resources in future versions?  it seems like that would be a common thing to want to do.

    thanks!
  5. John
    John avatar
    60 posts
    Member since:
    Nov 2006

    Posted 01 Mar 2013 Link to this post

    i talked to my boss, this is a real show stopper.  we're doing medical office software.  each resource is a provider (doctor, nurse etc).  an office might have 15 of them.  when you put that many on the screen, they get to small to see the appointments on.

    is there anyway to add a horizontal scroll bar at the bottom and then not allow the resources to go below say 200 px?  then they can just scroll across the screen if they need to.

    thanks
  6. Answer
    Svett
    Admin
    Svett avatar
    728 posts

    Posted 05 Mar 2013 Link to this post

    Hello John,

    As I mentioned you previously, there is not way to customize the width of the resource headers. Nevertheless, there is horizontal scroll bar which should be visible if headers exceed the visible area of the scheduler. I am enclosing a sample project which demonstrates that on my side. It seems that there is something specific in your project, which causes the scroll bar to not be shown. Could you share with us a code snippet that demonstrates how you initialize and create the
    RadScheduler?

    I am enclosing the project that I have used to reproduce your case.

    All the best,
    Svett
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Join us for a FREE webinar to see all the new stuff in action.

    Interested, but can’t attend? Register anyway and we’ll send you the recording.
  7. John
    John avatar
    60 posts
    Member since:
    Nov 2006

    Posted 05 Mar 2013 Link to this post

    thanks svett.  i compared your solution to mine and figured out the problem.  it was my incorrect use of 
    ResourcesPerView
    
    i had set that to my total number of resources which jammed them all in the current view instead of 
    making the scroll bar
    
    Thanks!
Back to Top
UI for WinForms is Visual Studio 2017 Ready