I am using DateChooser in my project.In that after selecting some other date the dateChooser remains in same date(in current date).It is not changing visually.I tried with setData() and redraw() method's also.Still it is not working.I am using smartgwt-1.1 and gwt-1.6.4 version.My sample code is :
final DateChooser dateChooser = new DateChooser();
dateChooser.setWidth("180");
dateChooser.setHeight("180");
dateChooser.addDataChangedHandler(new DataChangedHandler() {
public void onDataChanged(DataChangedEvent event) {
SC.say(dateChooser.getData()+"");
dateChooser.setData(dateChooser.getData());
dateChooser.redraw();
}
});
Can anyone give suggestion?