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

[Solved] WeekView - Customize Column

1 Answer 78 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Robby Chacko
Top achievements
Rank 1
Robby Chacko asked on 01 Dec 2009, 07:13 AM
Problem:
If there are about 15 appointments at the same time and we need to show all the subject of appointments in weekview, we cannot achieve it. Please see the attached snapshot.

Is there anyway we can customize the column for weekview?

I've tried with ColumnWidth but it is affecting all the columns as well as the columns where there is no appointment. So I need the column to be wider where there are multiple appointments and can show the subject (in a readable form).

Please help us as this is very important for our client.

Thanks
Rajesh

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 01 Dec 2009, 02:31 PM
Hi Robby,

This is not possible because of RadScheduler's current rendering. The width of an appointment is determined in percents based on the number of appointments in the appointment's time slot. For example, if you have two appointments scheduled for the same time, you would get the following html output:

<div class="rsWrap" style="z-index:18;">
    <div id="RadScheduler1_20_0" title="ss" class="rsApt Custom" style="height: 46px;
        width: 45%; left: 0%;">
        <div class="rsAptOut" style="height: 46px;">
            <div class="rsAptMid" style="height: 46px;">
                <div class="rsAptIn" style="height: 46px;">
                    <div class="rsAptContent" style="height: 46px;">
                        ss<a class="rsAptDelete" href="#">delete</a>
                    </div>
                </div>
            </div>
        </div>
    </div>

Each of the two appointments has width: 45%, which leaves 10% for the insert area.
 
The bottom line is that appointments have no fixed width. Their width is calculated based on the column width and the number of appointments for a given cell.


Kind regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler
Asked by
Robby Chacko
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or