Extending DateChooser.selectableRange to accept multiple values/ranges
Recently I came across the following requirement: Enable few disjoint dates in a DateChooser for user selection. The default DateChooser.selectableRange does not allow inserting of list of dates. It takes only a range and disables the rest.
I copied and modified the Flex 2 DateChooser control to achive the new functionlity. The swc is available here http://sreenivas.ramaswamy.googlepages.com/FlexEx2.swc.
I used this file to do the testing. I have done basic testing and it seems to work.
Only few dates in Jan, Feb and March of 2008 are enabled and it restircts the navigation to only those months
Currently I have made changes to only Flex 2 DateChooser. I would be happy to fix any bugs found !
Here are the Flex 3 files: DateChooser and CalenderLayout.
9:31 AM
|
Labels:
Flex Samples,
Flex with Data Services
|
This entry was posted on 9:31 AM
and is filed under
Flex Samples
,
Flex with Data Services
.
You can follow any responses to this entry through
the RSS 2.0 feed.
You can leave a response,
or trackback from your own site.
0 comments:
Post a Comment