PDA

View Full Version : Timestamp Form Field



gps-ulm
18 Jan 2012, 11:35 AM
Hello,

in ExtJS3 someone has developed a Timestamp Form Field. A combined date and time field that can be used with


tsfield.setValue(new Date());
date = tsfield.getValue();


Is there someone who has developed a similar component for ExtJS 4.
I know that there is the "fieldcontainer", but with this I can't handle set and get with one function call.

Or can someone give me a short example how to combine two fields in a form field in ExtJS4.

Thanks for any help.

Regards, Tobias

mitchellsimoens
19 Jan 2012, 9:57 AM
Have you tried to update the 3.x extension to work with 4.x?