SwarmOnline / Ext.ux.TouchCalendar

Sencha Touch Calendar component
113 stars 47 forks source link

Uncaught TypeError: Cannot read property 'sort' of undefined #35

Open selvakumarmvs opened 9 years ago

selvakumarmvs commented 9 years ago

Hi,

I tried the example given in the following folder for mobile application,

Ext.ux.TouchCalendar / examples / mvc /

I am getting the following error , Chrome => "Uncaught TypeError: Cannot read property 'sort' of undefined " Safari => "undefined is not an object (evaluating 'eventStore.sort')"

Error occurred in Ext.ux.TouchCalendarEventsBase.js

line : ->

eventStore.sort(this.getPlugin().getStartEventField(), this.getEventSortDirection());

The corresponding values of the fields during run time, this.getPlugin().getStartEventField() => start this.getEventSortDirection() => DESC

Also this error is occurred before loading event store. Please check the following display in chrome console,

Uncaught TypeError: Cannot read property 'sort' of undefined Ext.ux.TouchCalendarEventsBase.js?_dc=1415814674027:68 XHR finished loading: GET "http://localhost:8888/touch/myapp/data/eventData.json?_dc=1415814675273&page=1&start=0&limit=25".

Please help me.

Thanks,