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

Fixed column width for GroupBy Resource Day view

5 Answers 120 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Penny
Top achievements
Rank 1
Penny asked on 13 Aug 2008, 02:27 AM
Is there a way to implement the following layout:

View: DayView
GroupBy: Resource
fixed column widths
fixed (frozen) hour column and control header
horizontal scrollbar

Where the user can scroll horizontally to view hidden resource columns, while the hours column and control header remain fixed?

5 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 15 Aug 2008, 10:09 AM
Hi Penny,

Such functionality has been proposed numerous times by our customers and will be available with Q3 of RadControls for ASP.NET AJAX. Until then, we can provide a work-around of the problem - you can find that attached (the Appointments.xml should be placed in the App_Data directory).

Sincerely yours,
Alex
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Penny
Top achievements
Rank 1
answered on 16 Aug 2008, 12:13 AM
I can see what the javascript is trying to do, the hours column is not frozen when scrolling horizontally, and hoursTable.style.left is an empty string after the PageLoad function runs in debug. Is there something I'm missing? To clarify the layout requirements:

A) The hours column should remain frozen (absolutely positioned) to the left edge of the window when scrolling horizontally.
B) The navigation header should remain absolutely positioned at a width equal to the window width.
C) The navigation header and GroupBy headers should remain frozen at the top when scrolling vertically.

I'm running the project in IE7 if that makes a difference.
0
T. Tsonev
Telerik team
answered on 18 Aug 2008, 12:24 PM
Hello Penny,

Unfortunately, this is not possible with the current version of the control. What Alex proposed is a workaround, not a complete solution. We are planning to introduce proper horizontal scrolling with the Q3 release later this year. Sorry for the inconvenience.

Best wishes,
Tsvetomir Tsonev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Penny
Top achievements
Rank 1
answered on 22 Aug 2008, 01:59 AM
OK. One other question:

How can I control the width of the GroupBy columns in DayView? What I would like to do is set a fixed width for the appointment, and have the width of the GroupBy columns (and thus the entire scheduler) expand to fit the appointment's width, even when there are concurrent side-by-side appointments in the same column. Is this possible?
0
Alex Gyoshev
Telerik team
answered on 25 Aug 2008, 01:06 PM
Hi Penny ,

Unfortunately, such functionality cannot be achieved at this time. It will be available when proper horizontal scrolling is introduced.

The limitation is caused because the columns' width is rendered in percentages from the server, and the fix for this will require changing the rendering logic to something close to the horizontal scrolling scenario. Again, sorry for the caused inconvenience.

Regards,
Alex
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
Penny
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Penny
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or