Results 1 to 3 of 3

Thread: ?? triggerField ??

  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    4

    Question ?? triggerField ??

    "Ext.form.TriggerField" is extended from "Ext.form.Textfield"
    but i want to use it extended from "Ext.form.TextArea",how can i do??

  2. #2
    Sencha User laurentParis's Avatar
    Join Date
    Aug 2010
    Location
    paris
    Posts
    246

    Default

    I suggest to extend Ext.form.TriggerField with your own component... MyTextAreaWithTrigger
    and set property
    PHP Code:
    Ext.ux.MyTextAreaWithTrigger Ext.extend(Ext.form.TriggerField, {
      
    defaultAutoCreate : {
        
    tag"textarea",
        
    style:"width:100px;height:60px;",
        
    autocomplete"off"
      
    }
    }); 
    <<not try>>

  3. #3
    Sencha User
    Join Date
    Mar 2010
    Posts
    4

    Default

    yes,it's ok.
    thank u!!!

Similar Threads

  1. How to set the value of a TriggerField ?
    By dme69 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 26 Apr 2010, 1:48 AM
  2. Triggerfield
    By uptodate in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 21 Dec 2009, 12:44 AM
  3. using triggerfield
    By moegal in forum Ext 2.x: Help & Discussion
    Replies: 8
    Last Post: 2 Jul 2009, 6:27 PM
  4. More than just one triggerfield
    By napolux in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 4 May 2009, 11:06 AM

Posting Permissions

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