开发者

Open Flex Datefield Calendar to Beginning of the SelectabeRange Instead of the End of it

开发者 https://www.devze.com 2023-03-05 07:08 出处:网络
I\'ve got a Flex 3 datefield like this: <mx:DateField id=\"myDateSelector\" selectableRange=\"{{ rangeStart : new Date(2011,0,1), rangeEnd: new Date(2011,3,30) }}\"

I've got a Flex 3 datefield like this:

<mx:DateField id="myDateSelector"    
        selectableRange="{{ rangeStart : new Date(2011,0,1), rangeEnd: new Date(2011,3,30) }}" 
         />开发者_C百科;

It works fine. Jan 1, 2011 through April 30, 2011 are selectable. The only problem is that when you click on the calendar icon, it opens to April, the last month that is selectable. Is it possible to have it open to the beginning of the selectable range, Jan.?


Man, you sure like asking the same question in different context. Also, do some research before posting anything, this is getting ridiculous.

<mx:DateField selectedDate="{new Date(2011,0,1)}" selectableRange="{{ rangeStart : new Date(2011,0,1), rangeEnd: new Date(2011,3,30) }}" />

Next question, I'm flagging you for not even trying.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号