Reputation: 823
I'm trying to develop a sample app with Ext Calendar but Calendar feature is pretty confusion! I have official/purchased ext-5.1.1 and there are example calendar works but I can not find the package itself or I couldn't figure out how to use/implement it.
Is there Calendar feature for this release? And if then where it is or how I can use it?
There are two package/
folders;
ext-5.1.1/packages
ext-5.1.1/build/packages
Also I've noticed there are not any official documentation on Sencha Docs for 5.1.1 release! So what's the trick here?
I've already tried using it with a View panel but it says:
GET http://nuri/CalTable/Ext/calendar/panel/Panel.js?_dc=1502807144839 404 (Not Found)
Here is the sample View:
Ext.define('CalTable.view.HOCalendar', {
extend: 'Ext.calendar.panel.Panel',
xtype: 'hocalendar',
title: 'HO Calendar',
itemId: 'hocalendar',
width: 700,
height: 700
});
UPDATE: Screenshots for Calendar page and folder;
Upvotes: 0
Views: 1142
Reputation: 41
Move the calendar package from:
{premiumLocation}/ext/packages/calendar
or
{yourWorkspace}/ext/packages/calendar
Upvotes: 0
Reputation: 20224
For ExtJS 4.x and 5.x, the calendar code is in the calendar sample itself, and is not part of the official framework. As with all Sencha code samples, I guess they are intended to be copied from, so take everything you can get and improve around it.
How I got to the code online:
I opened the calendar sample in Chrome, opened browser console, typed "Ext.ComponentQuery.query("calendarpanel")[0].initComponent", pressed enter, and clicked on the returned code. The "sources" tab opened with the source of the initComponent function. From there it was a right click on the source tab and "Reveal in navigator" to get the source tree:
If you have the sample on your hard disk, it may be even easier.
Upvotes: 2