Hi,
I'm working on a calendar, I need to provide some control buttons on the header of each displayed event, inside the calendar (day and week view).
... in fact, like this example but for calendar's events: http://www.smartclient.com/smartgwt/...s_header_icons
So far,
- I have try to get and update the calendar's eventWindow provided by getEventWindow(), But I receive a null object !
- also, on the calendar instance, I have try this :
but this last example, just draw an icon on the first calendar event (eventWindow).
Can you provide some guidance on how to customize each eventWindow's header inside a calendar?
Also,
Thank you.
SmartGWT version : 4.1d
I'm working on a calendar, I need to provide some control buttons on the header of each displayed event, inside the calendar (day and week view).
... in fact, like this example but for calendar's events: http://www.smartclient.com/smartgwt/...s_header_icons
So far,
- I have try to get and update the calendar's eventWindow provided by getEventWindow(), But I receive a null object !
- also, on the calendar instance, I have try this :
Code:
HeaderControl zoom = new HeaderControl(HeaderControl.ZOOM, myClickHandler);
EventWindow window = new EventWindow();
window.setHeaderControls(zoom);
window.setShowCloseButton(Boolean.TRUE);
myCalendar.setAutoChildProperties("eventWindow", window);Can you provide some guidance on how to customize each eventWindow's header inside a calendar?
Also,
Thank you.
SmartGWT version : 4.1d