PDA

View Full Version : Highlighting specific dates on DataChooser?


as3hacker
05-27-2008, 03:52 AM
I've been trying to work out how to highlight certain dates using a custom DateChooser component in Flex 2 but i can't seem to find any way to highlight certain dates. It shouldn't be that hard right? But it certainly doesn't seem obvious looking through the docs. Has anyone managed to do this? I've done similar things with a dataGrid (overriding the updateDisplayList function) but the same technique doesn't seem to work for dataChooser.

Any help appreciated.

Thanks!

seth.lilly
05-29-2008, 07:52 PM
Peter daHaan has a post (http://blog.flexexamples.com/2007/12/20/toggling-multiple-selection-and-disjoint-selection-on-a-flex-datechooser-control/) over at his site (http://blog.flexexamples.com) that may help you. I'm not certain how your functions are arranged, but I think you could probably adapt these concepts to programmatically select multiple dates. Hope this helps.