Comments (8)
We'll add in an event handler... i'm thinking something like this:
calendar.addDateRequestHandler(new DateRequestHandler<Date>(){
@Override
public void onSelection(DateRequestEvent<Date> event) {
...
}
});
The event would get fired when a user "requests" to change the date (hence the
DateRequestEvent name). In the case of the monthView the user would request to
change
the date by clicking the "+ n more" label.
This could also work for an AgendaView. The AgendaView "groups" appointments by
date.
So if a user clicks that date, the event could be fired, and the developer
could
choose to switch to the DayView for that date (that is how google calendar
works).
Make sense? Is that what you were thinking?
What about you Carlos?
Original comment by [email protected]
on 21 Jan 2010 at 7:55
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from gwt-cal.
sounds great
Original comment by [email protected]
on 25 Jan 2010 at 1:41
from gwt-cal.
Has anyone had a chance to look at this yet?
Original comment by [email protected]
on 29 Jan 2010 at 6:01
from gwt-cal.
Original comment by [email protected]
on 4 Feb 2010 at 6:33
- Changed state: Started
from gwt-cal.
This feature was added in svn. You may want to try it out. See the "Date
Request Event"
details in the WIKI
http://code.google.com/p/gwt-cal/wiki/HandlingEvents
Original comment by [email protected]
on 18 Feb 2010 at 10:40
- Changed state: PendingReview
from gwt-cal.
works great! thanks brad.
fyi the wiki says public void onSelection(DateRequestEvent<Date> event) when
the signature is actually public
void onDateRequested(DateRequestEvent<Date> event)
Original comment by [email protected]
on 18 Feb 2010 at 11:42
from gwt-cal.
Original comment by [email protected]
on 27 Mar 2010 at 10:46
- Added labels: Release0.9
from gwt-cal.
Original comment by [email protected]
on 12 May 2010 at 7:12
- Changed state: Fixed
from gwt-cal.
Related Issues (20)
- setView remove additional style HOT 4
- Support external drop onto calendar HOT 4
- memory leak on every redraw with appointments in view HOT 1
- Turkish Locale HOT 4
- hour view HOT 3
- Purchase commercial license HOT 2
- Day numbers not correctly showed in month-view HOT 3
- Month view in IE9 displays incorrectly
- Strange behavior with Chrome and DialogBox.center() HOT 1
- allow the adding of a user object to the Appointment HOT 1
- Appointment refreshed on Day view will fire null pointer exception when being dragged again HOT 1
- calendarWeekIso will break in 2016 in locales where firstDayOfWeek==1 HOT 1
- In the week view and with RTL direction, the calendar header is not RTL
- Opera display width problem
- Appointment does not provides any mechanism to set tooltip for a particular appointment in day view
- Same calendar with different view in tabpanel
- tt.css
- Changing first day of week
- Put version 0.9.4 in the maven central
- Would love to see a click/drag create capability in the day views
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt-cal.