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

Datasource is filled but Scheduler doesnt show Dates

1 Answer 38 Views
HTML5, CSS, JavaScript
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andreas
Top achievements
Rank 1
Andreas asked on 07 Jul 2014, 02:47 PM
Hello,

I am building an app using the Telerik AppBuilder and in the App i use the Scheduler widget, which I try to supply with data from a SOAP Webservice.
The app receives the data correctly and, AFAICT, processes the data correctly into a Datasource which then is supplied to the Scheduler, but the Scheduler doesnt show the data

Here is the function:
function LoadKalender_Ready(data)
{
    data = convertToJSON(data);
    if( data.getobjectlistresponse.getobjectlistresult !== undefined )
    {
        var dataKalender = data.getobjectlistresponse.getobjectlistresult;
        $("#scheduler").kendoScheduler({
            date: new Date("2014/6/26"),
            startTime: new Date("2014/6/26 07:00 AM"),
            height: kendo.support.mobileOS.wp ? "28em" : 600,
            views: [
                { type: "day", selected: true },
                { type: "week", selectedDateFormat: "{0:ddd,MMM dd,yyyy} - {1:ddd,MMM dd,yyyy}" },
                //"month",
                { type: "agenda", selectedDateFormat: "{0:ddd, M/dd/yyyy} - {1:ddd, M/dd/yyyy}" },
            ],
            mobile: "phone",
            //timezone: "Etc/UTC",
            messages: {
                allDay: "Ganztags",
                today: "Heute",
                views: {
                    week: "Woche",
                    day: "Tag",
                    //month: "Monat",
                    agenda: "Agenda"
                }
              },        
            dataSource: dataKalender,
            schema:
            {
                model:
                {
                    id: "meetingID",
                    fields:
                    {
                        meetingID: { from: "code", type: "number" },
                        title: { from: "titel", defaultValue: "No title", validation: { required: true } },
                        start: { type: "mydatum", from: "Start" },
                        end: { type: "myenddatum", from: "End" },
                        description: { from: "notiz" },
                        isAllDay: { type: "boolean", from: "ganztaegig" }
                    }
                }
            }
        });
    }
}

Anyone have any idea on how to solve this?

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 10 Jul 2014, 11:42 AM
Hello Andreas,

Thank you for contacting us.

It is hard to tell what could have gone wrong by simply looking at the code snippet. You can check if there are any errors thrown by debugging your application, directly on the device.

Another option could be to fire a support ticket to us and share your project. This will allow us to investigate it further on our side and identify possible related issues.

I hope this helps.

Regards,
Kaloyan
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
Tags
HTML5, CSS, JavaScript
Asked by
Andreas
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or