PDA

View Full Version : How to add listener to DatePicker



lukefowell89
30 Nov 2010, 3:04 AM
Really quick question! How do I add a listener to a DatePicker that returns the the selected date details?

Thanks

Condor
30 Nov 2010, 5:31 AM
I don't understand the question...

DatePicker has a 'select' event. Why aren't you using that?

lukefowell89
30 Nov 2010, 7:02 AM
Well I suppose what I am asking is, how am I meant to know what events a component has.... I know some of the time they are listed in the API at the bottom, but for others they are not. I just want to know what event listeners are available. And I also was having blank moment earlier when I couldnt think how to put a listener in! Reading too many different methods gets abit confusing!