Hello, I am using smartgwt 2.4.
I am learning how to use the calendar object. My problem is that I can't get the details when I add or update an event. I am using
And this error is shown
Any suggestion ?
I am learning how to use the calendar object. My problem is that I can't get the details when I add or update an event. I am using
Code:
Calendar calendar = new Calendar();
calendar.addEventAddedHandler(new EventAddedHandler(){
@Override
public void onEventAdded(CalendarEventAdded event) {
event.getEvent();
}});
Code:
Uncaught exception escaped : java.lang.ClassCastException com.smartgwt.client.widgets.grid.ListGridRecord cannot be cast to com.smartgwt.client.widgets.calendar.CalendarEvent See the Development console log for details. Register a GWT.setUncaughtExceptionHandler(..) for custom uncaught exception handling.
Comment