EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 08:04:05 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
set timespinner min and max value within datetimebox
Pages: [
1
]
« previous
next »
Print
Author
Topic: set timespinner min and max value within datetimebox (Read 3526 times)
gordis gmbh
Full Member
Posts: 103
set timespinner min and max value within datetimebox
«
on:
June 27, 2018, 02:45:06 AM »
Hello,
when in a datetimebox all selected dates must be between 8:30 and 17:30. How can be min and max values of timespinner set within this datetimebox component.
thanks!
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: set timespinner min and max value within datetimebox
«
Reply #1 on:
June 27, 2018, 07:42:57 AM »
Call 'spinner' method to get the timespinner object and then set the 'min' and 'max' properties.
Code:
$('#dt').datetimebox('spinner').timespinner({
min: '08:30',
max: '17:30'
})
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...