GWT - click event on day in DatePicker -


in gwt want handle click event, when user clicks on day. there's valuechangehandler fires when value change, when click 2 times @ same day fire once.

other option use addhandler or adddomhandler in can add clickhandler, fires always, no matter if click day or if pass other month.

both options me not functional. ideas how it?

use addvaluechangehandler after set value else. it's hack works me.

calendarwidget.addvaluechangehandler(new valuechangehandler<date>() {   @override     public void onvaluechange(valuechangeevent<date> event) {       calendarwidget.setvalue(new date(0));     }   } 

Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -