Posts Tagged ‘time’

Flex DateTimeField and DateTimeChooser

Sunday, November 15th, 2009

So, it seems, that there isn’t anywhere in the world wide web and especially in the Adobe Flex components collection, a component which will let you choose the date and time. Horrible!
Here I made two subclasses, which will do that for you. It was nearly impossible to create this, because every function that was needed to override was set by them to private. … and they have this wonderful scrubTimeValue function, which kills your time of the whole date, every time you want to actualize your data.
With lot’s of fudging, finally, there came up a working overwritten class!

Get it here


mb

As you can see in this example, it works properly in Datagrids and keeps the data-binding alive. I hope this class works for you as well as for me!

*** UPDATE ***
Due to some bugs when using this component outside of a datagrid, i recreated this component. So check it out in the example. Everything is working properly!