Repository navigation
Expand file tree
/
Copy pathrange.html
More file actions
49 lines (47 loc) · 2.02 KB
/
Copy pathrange.html
File metadata and controls
49 lines (47 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<div class="control-section">
<div class="control_wrapper">
<div class="pane">
<div class="tabs-wrap">
<div class="wrap">
<input type="text" id="start" />
</div>
</div>
<div class="tabs-wrap" style="clear: both">
<div class="wrap">
<input type="text" id="end" />
</div>
</div>
<div class="tabs-wrap" style="clear: both;padding: 14px 10px;">
<div class="wrap">
<input type="checkbox" id="dayRange" />
</div>
</div>
</div>
</div>
</div>
<div id="action-description">
<p>
Select a start time from the first TimePicker and then the second TimePicker will be enabled. Select an end time from the second TimePicker to get a <code>time range</code>. Click the Business Hours checkbox to change both the TimePickers to <code>read-only</code> state.
</p>
</div>
<div id="description">
<p>Time Range sample illustrates the appointment time selection scenario with the start and end time option. Here, two TimePicker
components are used to select the start and end time.</p>
<p>Before the start time selection, the end time TimePicker is in disable state. When the start time is selected, then you
will be able to select the end time or else, need to select the entire business hours 9:00 to 18:00 from the <code>Business Hours</code> option. Once the options are checked, both the TimePicker components goes to readonly state.</p>
<p>More information about the time range restriction can be found in the <a href="http://ej2.syncfusion.com/documentation/timepicker/time-range.html"
target="_blank"> documentation section</a>.</p>
</div>
<style>
.control_wrapper {
padding: 2%;
margin: 0 auto;
max-width: 400px;
}
.e-bigger .control-section {
margin-top: 60px;
}
.tabs-wrap {
padding: 10px;
}
</style>