Extjs DateTime Date and Time Selection Control (mandatory selection of non-click date) supports over 4.0

Source: Internet
Author: User

The date control of Extjs only supports date selection, and the selection of time is not perfect. The controls downloaded from the Internet are developed based on Ext. form. dateField. The controls are automatically selected after the selected date and the selection window is hidden.

After some transformation, a Time Selection control with a confirmation button is finally completed. As follows:




The specific code is included in the attachment. To work properly, you also need to add a css style:

. X-datepicker-sel {
Border-color: rgb (1, 224,162,162 );
Border-style: solid;
Border-width: 1;
}

Used for the selected style above. Add it to the css file you reference.

You cannot upload attachments. Put a download link.

Http://download.csdn.net/detail/awe5566/7377571



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.