I lead engineering teams and build stuff, not always in that order.
bmoeskau / extensible Goto Github PK
View Code? Open in Web Editor NEWCool components for Ext JS
Home Page: http://ext.ensible.com
Cool components for Ext JS
Home Page: http://ext.ensible.com
Ladies & Gentlemen,
I´m trying to load Ext + the calendar JS only when needed as it´s only a small part of my app. Trying to acompish that has been tough so far, but I could get Ext to work fine when loaded later on. (http://stackoverflow.com/questions/7044576/loading-ext-js4-only-when-needed-problem-with-ext-onready)
Now I´m trying to get the Calendar work but I´m stuck.
This is the working example code (basically from the examples, I had to load it to my own domain as 1.5 examples where not up yet):
http://jsfiddle.net/thomasf1/qCLcS/8/
What I´m trying to do is this: (only partly working using a workaround gathered in the stackoverflow thread)
http://jsfiddle.net/thomasf1/qCLcS/10/
What I´ve tried also:
It would be great if there would be a fix to make it work,
Thomas
Hello
Does Latest version support Extjs 5.1.1?
Hi,
first sorry for my bad english.
I Try to convert Your prodoct to support persian date and found new bug.
In Extensible.Date.add use millisecond to add day or week or hour or .. . but In Daily safe time
http://en.wikipedia.org/wiki/Daylight_saving_time
one day may 25 hours or 23 hours.
Current implementation:
var start = startDate || this.startDate,
offset = start.getDay() - this.startDay;
This fails when startDay is monday(1) and current day is sunday(0). The weekview shows next week initially and also if today button is clicked.
Can be fixed with something like this:
offset = ((start.getDay() - this.startDay) % 7 + 7) % 7
Hello,
with latest master (fa6728b), but not the very previous commit (c2e92b4), I get the following errors:
extensible-lang-cs.js:8: TypeError: 'undefined' is not an object (evaluating 'Extensible.calendar.view.AbstractCalendar')
calendar.js: TypeError: 'undefined' is not an object (evaluating 'Extensible.calendar.data.EventMappings')
I tested with Chrome 12 and Safari 5.1 on Mac OS X 10.6.8.
When using English, I get the same error at extensible-lang-en.js:17
.
calendar.js
is my own code, which does this:
Ext.require([
'Ext.data.proxy.Ajax',
'Extensible.calendar.data.EventStore',
'Extensible.calendar.data.MemoryCalendarStore',
'Extensible.calendar.CalendarPanel',
'Extensible.calendar.data.EventMappings',
'Extensible.calendar.data.CalendarMappings'
]);
Ext.onReady(function(){
// comments
var M = Extensible.calendar.data.EventMappings; // <<< HERE IT FAILS
// setup the calendar widget and render it to a <div>
});
I include these files related to Extensible directly using the <script>
tag in <head>
, in this order:
ext-all-debug.js extjs-paths.js (my file which sets up paths for Ext loader) extensible-all-debug.js ext-lang-cs.js extensible-lang-cs.js calendar.js (my file which sets up the calendar widget and renders it to a div)
Please let me know if you need more information.
1.5 version is not working when i downloaded it. not even the basic examples are working. what might be the issue?
"date is undefined" error when you click over month-empty-day div (just bellow the day) in the month view without events recorded
easy fix! see... https://github.com/vela1606/MitosEHR-Official/blob/master/lib/extensible-1.5.1/src/calendar/util/WeekEventRenderer.js
basically move up currentDateString = Ext.Date.format(currentDate, 'Ymd');
to line 114 ( outside the second for loop )
Hi,
I'm currently looking into finding a good solution for my project which shows repeating events and has to handle recurrence.
Your library looks good so I might steal some bits and bobs but I was wondering how you would do something like:
I would appreciate your input :)
David
Your examples are refferencing the built files but these are missing from git/archive
i.e. <script type="text/javascript" src="../../extensible-all-debug.js"></script>
And since your build doesn't yet work on windows, it's hard to test/see them.
Could you please add them?
sorry for my bad english
I use my own way to save event. After event saved I need to reload data. At month view page, I can call getActiveView and use 'refresh' method to reload store with startDate and endDate as parameters.
But, at week view page or day view page, there is no effect. It seems that both of those page call 'refresh' method from 'Extensible.calendar.view.Day' which won't call 'reloadStore' method.
Truly, I can use store.load() instead and use getViewBounds to fetch startDate and endDate. But, I don't think it's the best way.
Please upgrade to the latest EXT framework available currently i.e. 3.3.0
In extensible-all-debug.js I have found todayText doubled in the same class (Ext.ensible.cal.CalendarPanel row 5665 and 5685).
Is this project abandoned? Too many pull request, and no release for Ext JS 5 or 6
In your test-application code I can see commented the following lines:
plugins: [{
ptype: 'ext.ensible.cal.contextmenu'
}],
If I uncomment it I will get an error.
Is it intended in the future to support plugins, or this is already obsolete?
Hi! In many countries, including mine (France), the first day of the week is Monday.
It could be great to add a option in order to change the first day of a week.
Comma must be removed from "extensible-lang-es.js" and "extensible-lang-ca.js".
See: dayHeaderTitleFormat
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.