ExtJS DateTime Date-time selection control (non-click Date forced selection) supports 4.0 or more

Source: Internet
Author: User

ExtJS date control, only can support to date selection, the choice of time is not intact. The controls that are downloaded on the Web are based on Ext.form.dateField development. Select the selected date and hide the selection form.

After some modification, a time selection control with a confirmation button is finally done. For example, the following




The detailed code is in the attachment. For normal use, you need to add a CSS style:

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

Used for the selected style above.

Add to the CSS file that you are referencing.

Attachments cannot be uploaded. Then put a download link.

http://download.csdn.net/detail/awe5566/7382033



ExtJS DateTime Date-time selection control (non-click Date forced selection) supports 4.0 or more

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.