小编use*_*004的帖子

KendoUi schedulardata不在调度表中显示

我无法使用远程绑定在kendoUI-> read函数的调度中显示数据.是否有任何特殊的方式从kendoUI schedulealr读取数据或AM我错过了一些东西请指导我.

通过ajax读取的数据显示在firebug中,但没有显示在调度程序中ajax正在工作但代码中有一些中断我不知道请帮助我从这个

    $("#scheduler").kendoScheduler({
   date: new Date("2014/6/01"),
   startTime: new Date("2014/6/01 07:00 AM"),
   height: 600,
   views: [
       "day",
       "week",
       "month",
       { type: "workWeek", selected: true },

   ],
   timezone: "Etc/UTC",

transport: {
         read: {
              url: "http://abc/abcxyz/abc/read",
              dataType: "json"
        },
        update: {
            url: "http://demos.telerik.com/kendo-ui/service/tasks/update",
            dataType: "jsonp"
        },
        create: {
             url: "http://demos.telerik.com/kendo-ui/service/tasks/create",
             dataType: "jsonp"
        },
        destroy: {
        }
    },
    schema: {
           model: {
          id: "id",
          fields: {
                   id:{ type: "number", from: "business_id"},
                   from: { type: "date", from: "from" },
                   to: { type: "date", …
Run Code Online (Sandbox Code Playgroud)

kendo-ui

5
推荐指数
1
解决办法
38
查看次数

如何使用jQuery检测浏览器?

我有一个问题是由jQuery实现的css,css在mozilla中工作正常但不在chrome中工作因此需要根据浏览器在cqu中进行更改但是在JQUERY中

任何人都可以帮助我获取浏览器,无论是firefox,chrome还是其他任何浏览器.

 if ($browserFirefox) {
    ....code 
    $('#test').css("margin-top","10%");
 }
 if ($browserChorme) {
   code goes here
 }
 if ($browserXYZ) {
   code goes here
 }
Run Code Online (Sandbox Code Playgroud)

jquery

1
推荐指数
1
解决办法
2万
查看次数

标签 统计

jquery ×1

kendo-ui ×1