1. #11
    Ext User
    Join Date
    Aug 2007
    Posts
    33
    Vote Rating
    0
    magunes117 is on a distinguished road

      0  

    Default


    Quote Originally Posted by jsakalos View Post
    I found out that it doesn't work in IE quirks mode. I've added doctype to the code above and it works.
    It is working in IE7 now, fields are still missing in IE6.

    Thanks.

  2. #12
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,538
    Vote Rating
    380
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    I've changed rendering of date and time fields so now it should work in IE6/7 in quirks/strict modes flawlessly.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  3. #13
    Ext User
    Join Date
    Aug 2007
    Posts
    33
    Vote Rating
    0
    magunes117 is on a distinguished road

      0  

    Default


    Now it works in FF2, IE6, IE7, Opera9. Thank you.

    I need to disable the editing of 'seconds'. I want it to be '00' all the time, how can I do this? Edit: I have done it, thanks.

    Regards.

  4. #14
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,538
    Vote Rating
    380
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    You have two variables dateFormat and timeFormat that are used for underlying fields. Then you have dateConfig and timeConfig objects that are applied to config objects of underlying fields as documented for DateField and TimeField of Ext.

    Reason for moving format configs from underlying fields to DateTime object is that this way it is easy to localize date and time formats.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  5. #15
    Ext User acontreras's Avatar
    Join Date
    Dec 2007
    Posts
    40
    Vote Rating
    0
    acontreras is on a distinguished road

      0  

    Question


    jsakalos, I can't get to validate the fields on the form.

    I'm using allowBlank:false, but When I call a form.getForm().isValid(). it doesn't validates the empty fields.

    Is it a bug, or it's just my mis configuration?

  6. #16
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,538
    Vote Rating
    380
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    I haven't done validation yet...
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  7. #17
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,538
    Vote Rating
    380
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    Quote Originally Posted by acontreras View Post
    jsakalos, I can't get to validate the fields on the form.

    I'm using allowBlank:false, but When I call a form.getForm().isValid(). it doesn't validates the empty fields.

    Is it a bug, or it's just my mis configuration?

    It was easier that I'd thought. Get the code from the first post now and give it a try.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  8. #18
    Sencha User galdaka's Avatar
    Join Date
    Mar 2007
    Location
    Spain
    Posts
    1,166
    Vote Rating
    -1
    galdaka is an unknown quantity at this point

      0  

    Default


    Good work!!

    Thanks again jsakalos,

  9. #19
    Sencha - Community Support Team jsakalos's Avatar
    Join Date
    Apr 2007
    Location
    Slovakia
    Posts
    27,538
    Vote Rating
    380
    jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future jsakalos has a brilliant future

      0  

    Default


    I needed to use this field as grid editor so I had to solve all issues connected with that. I think the field plays very nicely when embedded in a grid, however, I have tested it only in Firefox@Linux.

    Give it a try as grid editor and let me know issues, if any.
    Jozef Sakalos, aka Saki

    Education, extensions and services for developers at new http://extjs.eu
    News: Grid Search Plugin, ExtJS 5 Complex Data Binding using MVVM


  10. #20
    Sencha User
    Join Date
    Apr 2007
    Posts
    10
    Vote Rating
    0
    wenner is on a distinguished road

      0  

    Default


    Quote Originally Posted by jsakalos View Post
    I needed to use this field as grid editor so I had to solve all issues connected with that. I think the field plays very nicely when embedded in a grid, however, I have tested it only in Firefox@Linux.

    Give it a try as grid editor and let me know issues, if any.
    i try the code
    Code:
    Ext.getCmp('form').getForm().reset()
    getValues is NaN , the field show "NaN.NaN.NaN"

Thread Participants: 208

  1. galdaka (1 Post)
  2. grEvenX (1 Post)
  3. wolverine4277 (1 Post)
  4. berend (1 Post)
  5. umlbuzzard (1 Post)
  6. mystix (8 Posts)
  7. dawesi (4 Posts)
  8. gabbay (1 Post)
  9. JorisA (2 Posts)
  10. burn (1 Post)
  11. wenner (6 Posts)
  12. DigitalSkyline (1 Post)
  13. ChrisR (3 Posts)
  14. cocorossello (1 Post)
  15. 72 (1 Post)
  16. akannu (1 Post)
  17. danh2000 (2 Posts)
  18. DeeZ (1 Post)
  19. daviscabral (3 Posts)
  20. sharman (1 Post)
  21. ajaxE (3 Posts)
  22. ryedin (3 Posts)
  23. dandfra (5 Posts)
  24. anjelika (1 Post)
  25. MaximGB (1 Post)
  26. chernomorez (1 Post)
  27. smokeman (1 Post)
  28. FoGhost (1 Post)
  29. jcwatson11 (4 Posts)
  30. kevinwu8 (11 Posts)
  31. magunes117 (4 Posts)
  32. Barius (2 Posts)
  33. linizou (2 Posts)
  34. Clever Cutter (1 Post)
  35. Rui Lopes (3 Posts)
  36. henryli86 (1 Post)
  37. dima (1 Post)
  38. KevinChristensen (1 Post)
  39. rlx (1 Post)
  40. derbbre (1 Post)
  41. aacraig (5 Posts)
  42. kafsinkaf (1 Post)
  43. durlabh (5 Posts)
  44. Egor (1 Post)
  45. keypoint (2 Posts)
  46. elDub (7 Posts)
  47. anotherpit (3 Posts)
  48. sean.zhou (9 Posts)
  49. x51596 (1 Post)
  50. ray007 (2 Posts)
  51. seethrubob (1 Post)
  52. Gerrat (2 Posts)
  53. dphu (2 Posts)
  54. multiversal (1 Post)
  55. atascon (2 Posts)
  56. michaelc (3 Posts)
  57. adinata (2 Posts)
  58. jburnhams (1 Post)
  59. Hani79 (6 Posts)
  60. dearsina (1 Post)
  61. gfuture (1 Post)
  62. relix01 (3 Posts)
  63. ttony (2 Posts)
  64. danderson (3 Posts)
  65. marco76 (5 Posts)
  66. tarini (4 Posts)
  67. dorgan (5 Posts)
  68. acontreras (3 Posts)
  69. lobo-tuerto (4 Posts)
  70. trancee (1 Post)
  71. calavera (1 Post)
  72. broutard (1 Post)
  73. httpdotcom (2 Posts)
  74. Stefan B (7 Posts)
  75. vilivili (3 Posts)
  76. masterbuddha (2 Posts)
  77. sinma (1 Post)
  78. incaic (2 Posts)
  79. nbourdeau (7 Posts)
  80. miles.huang (1 Post)
  81. radtad (9 Posts)
  82. jenner (1 Post)
  83. demon222 (1 Post)
  84. Paul Middelkoop (1 Post)
  85. PremiereGlobal (3 Posts)
  86. qlegrand (4 Posts)
  87. LedrickLeron (2 Posts)
  88. dirkr (4 Posts)
  89. rhytha (1 Post)
  90. infinit (1 Post)
  91. ClemsonJeeper (6 Posts)
  92. conorarmstrong (2 Posts)
  93. mtrax (1 Post)
  94. ignatius (3 Posts)
  95. brenda (1 Post)
  96. xavierg (1 Post)
  97. vcastel (5 Posts)
  98. Arthur.Blake (4 Posts)
  99. dgms (1 Post)
  100. bjw5392 (2 Posts)
  101. Stripeman (2 Posts)
  102. EzBulka (2 Posts)
  103. wuschba (4 Posts)
  104. NoahK17 (3 Posts)
  105. Remy (11 Posts)
  106. predragp (1 Post)
  107. Barbanek (1 Post)
  108. johnymutton (3 Posts)
  109. abraxxa (28 Posts)
  110. cvieira (2 Posts)
  111. smithrp (1 Post)
  112. Rotomaul (1 Post)
  113. nebbian (2 Posts)
  114. tubinee (3 Posts)
  115. jhoni.chen (1 Post)
  116. snehat (1 Post)
  117. kevinconaway (1 Post)
  118. kristalgic (1 Post)
  119. hAmpzter (6 Posts)
  120. mono blaine (5 Posts)
  121. rhuanca (2 Posts)
  122. Akamy2kidsmom (2 Posts)
  123. haloween (1 Post)
  124. shiv (9 Posts)
  125. dekely (12 Posts)
  126. aborjinos (1 Post)
  127. canxss (6 Posts)
  128. khewuwei (2 Posts)
  129. lakshmi (4 Posts)
  130. notdet (3 Posts)
  131. dizor (1 Post)
  132. mschwartz (5 Posts)
  133. sprestel (1 Post)
  134. JAnderson (1 Post)
  135. maiconschelter (1 Post)
  136. oegozi (6 Posts)
  137. Dumas (3 Posts)
  138. jgeewax (1 Post)
  139. ylaroche (5 Posts)
  140. marcvdm (2 Posts)
  141. Grolubao (2 Posts)
  142. uptodate (2 Posts)
  143. Jangla (6 Posts)
  144. rob_howe (1 Post)
  145. pibree (1 Post)
  146. einavb (2 Posts)
  147. bbirtle (1 Post)
  148. annextjs (7 Posts)
  149. ampnezz (2 Posts)
  150. mogwai (1 Post)
  151. igreg (1 Post)
  152. dthemistokleous (1 Post)
  153. quicksilver_in (2 Posts)
  154. Opsone (2 Posts)
  155. Gonfi (2 Posts)
  156. Keylan (1 Post)
  157. Sigma (1 Post)
  158. advarot (1 Post)
  159. Scott Murawski (4 Posts)
  160. isit.gd (1 Post)
  161. realjax (3 Posts)
  162. tigerfoot (8 Posts)
  163. harel (2 Posts)
  164. iryndin (1 Post)
  165. roger.harrington (1 Post)
  166. cscagliola (2 Posts)
  167. Kirill_Sychin (3 Posts)
  168. mrjoltcola (5 Posts)
  169. innerbreath (1 Post)
  170. mebuzzme (1 Post)
  171. sramirez (1 Post)
  172. ilevina (2 Posts)
  173. boyan.dimitrov (1 Post)
  174. lwarring (1 Post)
  175. codeable (1 Post)
  176. ozum (2 Posts)
  177. chenzero (4 Posts)
  178. erdna (4 Posts)
  179. icarey (2 Posts)
  180. heratech (1 Post)
  181. stevek (1 Post)
  182. DanielT (2 Posts)
  183. seand (1 Post)
  184. smartbinary (2 Posts)
  185. taporari (2 Posts)
  186. Lobo (2 Posts)
  187. daydreamer01 (1 Post)
  188. oldtenen (1 Post)
  189. krishnaswamy (1 Post)
  190. ajmas (1 Post)
  191. maina (1 Post)
  192. Joe Kuan (3 Posts)
  193. easley (3 Posts)
  194. marc123 (2 Posts)
  195. njsnow7 (1 Post)
  196. I_Leising (1 Post)
  197. olka (1 Post)
  198. bee (1 Post)
  199. jonaldomo (1 Post)
  200. ithompson (2 Posts)
  201. Jojo79 (2 Posts)
  202. zhaoshixuan (1 Post)
  203. SSzretter (1 Post)
  204. amsalak (1 Post)
  205. abc_check (1 Post)
  206. Deadlock (1 Post)
  207. kirlisakal (1 Post)
  208. endino (1 Post)