Using ExtJS 4.2.3
, I have FORM with textfield. I need to get value from store to the field. Having problems with my attempt to format data in the desired format. Asking for help with syntax to format data to DD-MM-YYYY
Data in source: /Date(1417986000000)/
After trying to get data by:
Form_window.query('textfield[name="DateField"]')[0].setValue(NewDATA_store.getAt(1).get('DateData'))
Result: Mon Dec 08 2014 00:00:00 GMT+0300 (RTZ 2 (winter))
Result what I need: 08.12.2014
Aucun commentaire:
Enregistrer un commentaire