Flex Calendar – can it be that hard?
Well a requirement has come up where we would like to have some sort of flex calendar component. In its simplest form it would be nice to show on the date chooser which days currently have at least one task. Sounds simple enough doesn’t it?
Maybe not so simple. As discussed with Jesse Warden on flexcoders, this could be quite overwhelming, with no simple solution. The current implementation of the DateChooser component doesnt really offer much leeway in terms of extension. As Jesse put it – “the not made to be extended datechooser”
But here goes nothing. After taking a look at the code I noticed that the Date Chooser is drawn by mx.controls.CalendarLayout. Isn’t this a lovely class, all 2000 lines of it hehe. Ah well, I found the methods I need to modify (one of them being about 400 lines of code alone) so I might as well take a stab at it.
Over the coming weeks I’ll see what I can muster up, and try and keep an update of my progess here for all to see. Kind of a step by step ‘make your own calendar’.
Stay tuned…
UPDATE
Well that kinda didn’t go as planned. I’ve completely dropped customising the DateChooser as it was going to take up time I just couldnt spare. But in the meantime, be sure to check out Keven Hoyt‘s post – Custom Calendaring With Flex.
Related posts:





Pingback: Brajeshwar