Scheduler full height on real mobile devices

2 posts, 0 answers
  1. Peter Terkildsen
    Peter Terkildsen avatar
    16 posts
    Member since:
    Mar 2010

    Posted 27 Jan 2015 Link to this post

    Can I make my scheduler view to be full height in every view - Day, Week and Month. I done this for web browsers via css, but for real mobile device this doesn't work. This is my code for scheduler.
     $scope.schedulerOptions = {
            views: [
                { type: "day", selected: true },
                "week",
                "month"
            ],
            height: kendo.support.mobileOS.wp ? "28em" : "600",
            mobile: true,
            showWorkHours: false,
            edit: function (e) {
                // add recurrence editor label
                // hide both label and editor
                var editor = e.container.find("[data-container-for=recurrenceRule]");
                var timezone = e.container.find("[data-container-for=timezone]");
                editor.add(editor.prev()).hide();
                timezone.add(timezone.prev()).hide();
            },
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3748 posts

    Posted 29 Jan 2015 Link to this post

    Hello Peter,

    If you would like to expand the Scheduler height dynamically, then you will need to calculate its height. Here  a simple Dojo demo that demonstrates how to accomplish this task.

    Regards,
    Georgi Krustev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top