Want to create extension off TwinTriggerField

  1. #1

    Want to create extension off TwinTriggerField

    I want to create a custom extension of Ext.Form.TwinTriggerField. I dont see that as a class in Coolite.Ext.Web. Should I just inherit from TriggerField instead? Any examples of a simple extension besides Portal?
  2. #2

    RE: Want to create extension off TwinTriggerField

    Also, dont see a way to add a TriggerField to a FormLayout. Is this not possible at the moment? I want to see the scripts rendered for a TriggerField and tie it back to the server class so I know how to create a TwinTriggerField class and then my custom extension of it.
  3. #3

    RE: Want to create extension off TwinTriggerField

    Got everything figured out =). I had to register the xtype for TwinTriggerField. Apparently, that's not already registered in Ext even though TwinTriggerField is a part of it.

    Summary:
    1. Create a TwinTriggerField class that inherits from TriggerField
    2. Create custom PickerField class that inherits from TwinTriggerField

    I am sure it would have worked if I have my PickerField class inherits from TriggerField as long as my javascript class is defined correctly.

Similar Threads

  1. FileUploadField Extension restriction
    By kutlu in forum 1.x Help
    Replies: 2
    Last Post: Jul 08, 2013, 10:39 AM
  2. [CLOSED] Colorbox textfield extension
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: Jul 25, 2012, 2:04 PM
  3. [CLOSED] Textfield extension error
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Jun 19, 2012, 2:44 PM
  4. Coolite extension methods documentation?
    By daneel in forum 1.x Help
    Replies: 0
    Last Post: May 05, 2010, 10:32 AM

Posting Permissions