Syncfusion.EJ2
Properties  Methods 


Syncfusion.EJ2.Calendars Namespace : DateTimePicker Class

DateTimePicker Class Members

The following tables list the members exposed by DateTimePicker.

Public Constructors
 NameDescription
Public Constructor  
Top
Public Properties
 NameDescription
Public Property > Support for `allowEdit` has been provided from [`v16.2.46`](https://ej2.syncfusion.com/angular/documentation/release-notes/16.2.46/#datetimepicker).  
Public Property Triggers when input loses the focus.  
Public Property Gets or sets the Calendar's Type like gregorian or islamic.  
Public Property Triggers when the Calendar value is changed.  
Public Property Triggers when popup is closed.  
Public Property Triggers when DateTimePicker is created.  
Public Property Specifies the root CSS class of the DatePicker that allows to customize the appearance by overriding the styles.  
Public Property Sets the maximum level of view such as month, year, and decade in the Calendar. Depth view should be smaller than the start view to restrict its view navigation.  
Public Property Triggers when DateTimePicker is destroyed.  
Public Property Specifies the component to be disabled or not.  
Public Property Enable or disable persisting component's state between page reloads. If enabled, following list of states will be persisted. 1. value  
Public Property When set to true, enables RTL mode of the component that displays the content in the right-to-left direction.  
Public Property Gets or sets the Calendar's first day of the week. By default, the first day of the week will be based on the current culture.  
Public Property Specifies the placeholder text to be floated. Possible values are: Never: The label will never float in the input when the placeholder is available. Always: The floating label will always float above the input. Auto: The floating label will float above the input after focusing or entering a value in the input.  
Public Property Triggers when input gets focus.  
Public Property Specifies the format of the value that to be displayed in component. By default, the format is based on the culture.  
Public Property Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.  
Public Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Public Property Overrides the global culture and localization value for this component. Default global culture is 'en-US'.  
Public Property Gets or sets the maximum date that can be selected in the Calendar.  
Public Property Gets or sets the minimum date that can be selected in the Calendar.  
Public Property Triggers when the Calendar is navigated to another level or within the same level of view.  
Public Property Triggers when popup is opened.  
Public Property Specifies the placeholder text that to be is displayed in textbox.  
Public Property Specifies the component in readonly state. When the Component is readonly it does not allow user input.  
Public Property Triggers when each day cell of the Calendar is rendered.  
Public Property Specifies the scroll bar position if there is no value is selected in the timepicker popup list or the given value is not present in the timepicker popup list.  
Public Property Specifies whether to show or hide the clear icon in textbox.  
Public Property Specifies whether the today button is to be displayed or not.  
Public Property Specifies the initial view of the Calendar when it is opened. With the help of this property, initial view can be changed to year or decade view.  
Public Property Specifies the time interval between the two adjacent time values in the time popup list .  
Public Property Specifies the component to act as strict. So that, it allows to enter only a valid date and time value within a specified range or else it will resets to previous value. By default, strictMode is in false. it allows invalid or out-of-range value with highlighted error class.  
Public Property Specifies the format of the time value that to be displayed in time popup list.  
Public Property Gets or sets the selected date of the Calendar.  
Public Property Determines whether the week number of the year is to be displayed in the calendar or not.  
Public Property Specifies the width of the DatePicker component.  
Public Property specifies the z-index value of the popup element.  
Top
Protected Properties
 NameDescription
Protected PropertyOverridden.   
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected PropertyOverridden.   
Protected PropertyOverridden.   
Protected Property (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected PropertyOverridden.   
Top
Public Methods
Protected Methods
 NameDescription
Protected Method (Inherited from Syncfusion.EJ2.EJTagHelper)
Protected Method (Inherited from Syncfusion.EJ2.EJTagHelper)
Top
Extension Methods
 NameDescription
Public Extension MethodOverloaded.  Iterates the index.
Top
See Also