Open Flex Datefield Calendar to Beginning of the SelectabeRange Instead of the End of it
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.
精彩评论