首页 > Fullcalender中如何添加自定义参数?

Fullcalender中如何添加自定义参数?

在fullcalendar中,默认显示的参数有starttime endtime title 如图所示:

现在我想除了这三个默认参数以外,再加一个自定义参数比如name,并把它显示在上图的页面中

数据获取我用的是eventSources

eventSources: [
{
    url: url+p,
    type: 'POST',
    data: {
        custom: 'something'
    },
    color: 'yellow',   // a non-ajax option
    textColor: 'black' // a non-ajax option
}
],

官方的帮助文档中说的并不是很详细(http://arshaw.com/fullcalendar/docs/e...),自定义参数可以放在data中。我也在data中做了自定义参数name,并且在json数据源中增加了name参数,但是页面就是不能显示,请问有熟悉这个插件的朋友可以指点一下吗?

【热门文章】
【热门文章】