本文介绍了Appbuilder Json错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作伙伴和我正试图从Telerik的后端获取信息。我们正在尝试为后端提供时间表列表。谁能看到我们哪里出错?



这是脚本代码:



My work mate and I are trying to get information out from Telerik's Backend. We are trying to pull out a timetable list for the Backend. Can anyone see where we are going wrong?

Here is the script code:

<div class="eventsLayout">
    <h3>#:Event#</h3>
    <p>Time: #:kendo.toString(Start_Time, "E")# - #:kendo.toString(End_Time, "E")#</p>
    <p>Room: #:kendo.toString(Room, "E")#</p>
</div>

<script>
     function mobileListViewPressToLoadMore() {

     var tdataSource = new kendo.data.DataSource({
                transport: {
                    data:"odata",
                    read: {
                        url: "http://api.everlive.com/v1/DsdZIJppozhafPu5/Events",
                        dataType: "json"
                    }
                }

            });

                alert("");
                alert(tdataSource);
                alert(tdataSource.toString());
          }
    </script>

推荐答案

这篇关于Appbuilder Json错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 16:01