0

Extensible Calendar を使用していて、カスタム ajax Store を this で動作させようとしていますが、Store Load のときにこのエラーが発生します ここに画像の説明を入力

カレンダーには日付が表示されません。ここにいくつかのコードがあります

Ext.apply(Extensible.calendar.data.EventMappings, {

        StartDate:   {name: 'fecha_reservacion', mapping: 'fecha_reservacion', type: 'date', dateFormat: 'c'},

    });
 Extensible.calendar.data.EventModel.reconfigure();

var eventStore = Ext.create('Ext.data.Store', {

        fields: [
            {name: 'id', type: 'int'},
            {name: 'fecha_reservacion', type: 'date', dateFormat: 'c'},
        ],
        proxy: {
            type: 'ajax',
            url: '/reservacion/get',
            reader: {
                type: 'json'

            }
        },
        autoLoad: true
});

Ext.create('Extensible.calendar.CalendarPanel', {
        eventStore: eventStore,
        calendarStore: calendarStore,
        renderTo: 'content',
        title: 'Custom Event Mappings',
        width: 800,
        height: 700,
    });
4

1 に答える 1