function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion


Im trying to use the Ext.ux.CalendarView and Ext.ux.CalendarSimpleEvents plugin in my hybrid app. I dont know if im missing something in the configuration but im getting this error "Uncaught TypeError: Object [object Object] has no method 'remove'". Here is my code


      <apex:includeScript value="{!$Resource.calendarView}"/>
            <apex:includeScript value="{!URLFOR($Resource.simpleEventsView, 'Ext.ux.TouchCalendarSimpleEvents/Ext.ux.TouchCalendarSimpleEvents.js')}"/>
      <link rel="stylesheet" href="{!URLFOR($Resource.simpleEventsView, 'Ext.ux.TouchCalendarSimpleEvents/resources/css/Ext.ux.TouchCalendarSimpleEvents.css')}"/>
      <apex:includeScript value="{!$Resource.EventModel}"/>
      		var eventStore = Ext.create('',{
      		var date = new Date();

      		 var calendar = new Ext.view.TouchCalendarView({
                       		 mode: 'month',
                        	 weekStart: 0,
                        	 value: date,
                        	 eventStore: eventStore,
                        	 plugins: [new Ext.ux.TouchCalendarSimpleEvents()]

  This error happens when i include the line plugins:[new Ext.ux.TouchCalendarSimpleEvents()]