开发者

ExtJS can't select month/year in datepicker

开发者 https://www.devze.com 2023-03-14 07:01 出处:网络
I\'m using ExtJS 3 and when I want to select a date for the datepicker, I can only set day and month (through left/right arrows). The month/year panel comes down but quickly goes away, making it impos

I'm using ExtJS 3 and when I want to select a date for the datepicker, I can only set day and month (through left/right arrows). The month/year panel comes down but quickly goes away, making it impossible to select it. This is a desktop recording that describes best the behavi开发者_运维问答our: http://flic.kr/p/9VbX3m . Also, I am mentioning that I don't get any errors in Firebug.

Update: I noticed that the month/year box that drops down remains down and I can bring it up by changing the top:0; property to something like top:-180px; and then I can select the month/year, but why ? I didn't mess with any CSS values.

Any idea ? Thanks.


I've figured it out, too bad I did not concentrate on the CSS part of my application sooner. I am using the GridFilters extenstion and it comes with GridFilters.css file. In my version, line number 46->48 which is this:

li.x-menu-list-item div {
    display: inline;
}

got me in trouble, overriding the month/year menu's position. Really thought that it's one of my JS scripts that is causing this because it has been working for months like this and suddently the month/year chooser stopped working.

It's all good now, I've commented out those lines and gridfilters are also working/displaying as it should.

Thanks for the interest.

0

精彩评论

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

关注公众号