Results 1 to 2 of 2

Thread: How set value to Ext.field.DatePicker in formpanel??

  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default How set value to Ext.field.DatePicker in formpanel??

    My model object had 'workdate' field. and value is '2012-05-01' .
    I assigned 'workdate' to 'name' in datepickerfield. and I use formpanel.setRecord(model).
    I want to datepickfield show '2012-05-10'. but It was not work.
    I try to this any field type - textfield, selectfield -, in this case i had no problem.
    how can i set datepickerfield using by model object?

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Location
    ShenZhen, China
    Posts
    52
    Answers
    11
    Vote Rating
    3
      0  

    Default

    I think the data should be a Date type

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •