Results 1 to 3 of 3

Thread: datefield - show only month and year and close after select

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Location
    Riga, Latvia
    Posts
    4
    Vote Rating
    0
      0  

    Question datefield - show only month and year and close after select

    Hi!

    Please help me configuring Ext.form.field.Date
    what show only month and year,
    and after select month and click OK calendar hide and selected date insert in input box.

    Thanks Your for any ideas!
    ==============================================
    Qui quaerit, reperit.

  2. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,154
    Answers
    87
    Vote Rating
    34
      0  

    Default

    I do not know that is possible. The datefield shows the days with it.

    Why not create a simple window? put a combobox on it with the month values in it. And a second numberfield with spinner on it for the years.

    Or take a FieldContainer with to the two fields on it, in that case you do not need a pop-up. That would be a more friendly solution for your users, because it takes less mouse clicks to it.

  3. #3
    Sencha User
    Join Date
    Sep 2010
    Location
    Riga, Latvia
    Posts
    4
    Vote Rating
    0
      0  

    Default

    Thanks your.
    ==============================================
    Qui quaerit, reperit.

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
  •