Results 1 to 2 of 2

Thread: How to convert a dom input to a Ext.form.field.Text

  1. #1
    Sencha User
    Join Date
    Jan 2010
    Posts
    91
    Vote Rating
    0
      0  

    Default How to convert a dom input to a Ext.form.field.Text

    Hi,
    i have an html input that i want to get and apply some ext listeners. The problem is that this dom element is not an Ext component so i can't use all the functionalities.

    Thanks
    Santiago

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    What events are you wanting to listen for? Do you need to create a Component out of it or just need to do Ext.get and add listeners to the dom?

    If you want to create a Component, believe contentEl is the way to go for you.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

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