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

Month View on mobile device

1 Answer 40 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 10 Mar 2020, 04:52 AM

I am using Scheduler with Month View for an application I'm developing. The control works as intended when viewing on a desktop computer, however when viewing on a low resolution device (mobile) there is cut off text for both the day labels and events which leads to a less than ideal mobile experience (refer to attachment). Is there a way to enable a more mobile friendly viewing mode for ‘Month View’?

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 11 Mar 2020, 03:27 PM

Hi Tim,

Thank you for reaching out to us and for the provided screenshot.

Indeed, at the moment there isn't much that can be done on this matter. What I can suggest is to add some custom CSS in order to display ellipses whenever there isn't enough space for the complete scheduler header titles:

    `, encapsulation: ViewEncapsulation.None,
    styles: [`
    .k-scheduler-header th{
      text-overflow: ellipsis;
    }
    `]

Please check the following example demonstrating such approach:

https://stackblitz.com/edit/angular-wpkvng?file=app/app.component.ts

An alternative would be to use a template that will allow to add any custom content for the Scheduler header cells, but currently there isn't such available for the MonthView. Thus using some custom CSS as demonstrated in the provided example seems the way to go. Please let me know in case I can provide any additional details on this case or if further assistance is required. Thank you in advance.

Regards,
Svetlin
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Scheduler
Asked by
Tim
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or