This is a migrated thread and some comments may be shown as answers.

Calculated size of scheduler is too high when only a few timelines

4 Answers 32 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 09 Aug 2010, 12:46 PM
Hi,

I have found a fault in the Scheduler layout - I'm using Timeline view with manual Resource setup and web service based appointments.

It appears that when there are only a few timelines on the grid, the visible part of the grid is too high. This results in the timelines being displayed too high (even though I have insert area switched off I get a double height line), and the resource label cells are actually the right size, but spaced apart from one another.

I have found that the rsVerticalHeaderWrapper has a calculated height of 162px as does the bare div directly beneath it. Removing this style closes up the gaps in the resource headers, but the grid itself does not get any flatter, so I guess that this is some sort of minimum height setting. I haven't seen a minimum height setting however.

The grid displays this behaviour when I remove all of my own CSS and client-side script.

Any Ideas?

Thanks for your help.

4 Answers, 1 is accepted

Sort by
0
Dave
Top achievements
Rank 1
answered on 09 Aug 2010, 12:50 PM
I've just noticed that when the grid is smaller than 162px, the popup calendar gets cropped to nothing. In general, when I have zero timelines, which occurs for some date ranges, the grid is entirely closed up. The popup calendar gets cropped.

Is it possible to keep a minimum size on the grid, but only have the timelines and resource headers fill in from the top (instead of trying to fill the entire space)? Also, is it possible to display a simple HTML message in place of the grid when there are no results?

Cheers.
0
Peter
Telerik team
answered on 10 Aug 2010, 01:43 PM
Hello Dave,

This behavior and appearance is by design. The reason behind this is that we need minimum height in Timeline view to accommodate the popup calendar. Otherwise, it gets chopped off.


Kind regards,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Dave
Top achievements
Rank 1
answered on 11 Aug 2010, 09:27 AM
I did realise that the extra height was due to the calendar control, however my problem is not the additional height, but the layout of timelines within the height available. The current layout is:

Label        Too High Timeline
space
Label        Too High Timeline
space
Label        Too High Timeline

And I want them to be laid out as:

Label        Normal Height Timeline
Label        Normal Height Timeline
Label        Normal Height Timeline
big space

So as the layout doesn't look stupid.

Thanks.
0
Peter
Telerik team
answered on 13 Aug 2010, 01:58 PM
Hello Dave,

Thank you for your feedback. We will consider your suggestion for future improvement of RadScheduler.

Regards,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Dave
Top achievements
Rank 1
Answers by
Dave
Top achievements
Rank 1
Peter
Telerik team
Share this question
or