Results 1 to 4 of 4

Thread: Open the date popup window every time the user clicks on the DateField's text area

  1. #1
    Ext User
    Join Date
    Apr 2007
    Posts
    226

    Default Open the date popup window every time the user clicks on the DateField's text area

    Hi,

    I would like to open the date popup window every time the user clicks on the DateField's text field (and not just when he clicks the date icon).

    Any ideas how to do it? (I didn't find any function that opens this popup window).

    --The cursor should stay in the text field as well.

    Thanks,
    Maya
    Maya Lincoln
    www.processgene.com

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854

    Default

    Couldn't you just add click handler to the input element and make it call the onTriggerClick fn?

  3. #3
    Ext User
    Join Date
    Apr 2007
    Posts
    226

    Default Thanks

    Thanks Tim,

    This is exactly what I needed.
    Maya Lincoln
    www.processgene.com

  4. #4
    Ext User
    Join Date
    May 2010
    Location
    Madurai,TN, India
    Posts
    9

    Default

    Yup. Helped me as well. thanks.
    Code:
    Ext.getCmp('DateFieldInputTextID').onTriggerClick();

Posting Permissions

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