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

Multiple columns in Scheduler Day View

1 Answer 131 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Gunnar
Top achievements
Rank 1
Gunnar asked on 11 Mar 2017, 03:42 PM

We are using the RadScheduler to view and manipulate the doctors appointment list.
In day view we want to show the patient name and also som detailed information - neatly organised as in multiple columns.

We have tried using formating options for the Appointment.Description like "{0}\t{1}\t" and "{0,30} {1,10}" which doesn't seem to help.

Our goal is to see appointment organised like this:

09:20    JACK NICHOLSON      22.04.1937            GPO       YYN
09:40     LINDA BLAIR               22.01.1959            KL           YN

What we get is this:

09:20 JACK NICHOLSON 22.04.1937 GPO YYN
09:40 LINDA BLAIR 22.01.1959 KL YN

Is there a way to make the string formatting work as expected (simplest) or to add string objects with predefined width to the appointments (more complex).

Best regards,
Gunnar

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 15 Mar 2017, 01:15 PM
Hello Gunnar,

I would recommend you to consider using AppointmentTemplates as demonstrated in the Scheduler - Templates and Scheduler - Customizing Advanced Insert and Edit Forms online demos. Here is also the Templates help article.  

Also, you can use Custom Attributes to store the additional information and use it for easier formatting of the AppointmentTemplate as demonstrated in the Scheduler - Appointment Editing online demo.

Regards,
Peter Milchev
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Scheduler
Asked by
Gunnar
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Share this question
or