Forum /
Ext GWT Community Forums (2.x) /
Ext GWT: Discussion /
Set Min and Max value for a time field
Set Min and Max value for a time field
How can I set the minimum value or maximum value of a time field? Precisely, I would like to set the minmum value to 7:00
When i use setMinValue(Date) it blocks the combo..
Here is the code
public class TimeFieldX extends com.extjs.gxt.ui.client.widget.form.TimeField{
.....
...
private void personnaliser() {
setLabelSeparator(ConstantesRPC.SEPARATEUR_FIELD);
setFormat(ConstantesClient.TIME_FMT);
setIncrement(INCREMENT);
setFormat(DateTimeFormat.getFormat(ConstantesRPC.FORMAT_HEURE));
// setMinValue(new Date());
}
...
.....
}
Similar Threads
By gensisns in forum Community Discussion
Replies: 9
Last Post: 17 May 2012, 10:24 PM
By G-Force in forum Ext 3.x: Help & Discussion
Replies: 1
Last Post: 26 Oct 2010, 10:26 AM
By Rafael in forum Ext 2.x: Help & Discussion
Replies: 1
Last Post: 30 Nov 2008, 1:54 PM
By tjcrowder in forum Ext 2.x: Help & Discussion
Replies: 6
Last Post: 7 Dec 2007, 1:21 AM
By marco.braga in forum Ext 1.x: Help & Discussion
Replies: 4
Last Post: 27 Aug 2007, 10:41 PM
Tags for this Thread
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us