TriggerField only accept the icon "Clear"

  1. #1

    TriggerField only accept the icon "Clear"

    This only accept me the icon Clear if i change it for othe for example "Disk" sent me an error "The value permitted for this attribute do not include "Disk" "

    <ext:ComboBox ID="ComboFamilia" runat="server"
        DisplayField="sValor2" Editable="true" Enabled="true" FieldLabel="Familia" 
        ForceSelection="true" ListWidth="180" Mode="Local" Note="Familia"
        StoreID="StoreFamilia" TriggerAction="All" TypeAhead="true" ValueField="sValor1" 
        Width="480" EnableKeyEvents="True" DataIndex="0"> 
    <Triggers>
        <ext:FieldTrigger Icon="Clear" Qtip="Guardar Familia" />
    </Triggers>
    
    <Listeners>
    <Select Handler="#{ComboTutor}.clearValue();#{StoreTutor}.load();#{GridFamilia}.reload();" /> 
    </Listeners> 
    </ext:ComboBox>
  2. #2
    The FieldTrigger .Icon property uses the list of Icons available in the TriggerIcon Enum. These are different than the Icons available to the other Component .Icon properties, such as Window.Icon and Button.Icon.

    The "Disk" Icon is not an option in the TriggerIcon Enum.

    Hope this helps.
    Geoffrey McGill
    Founder

Similar Threads

  1. Replies: 5
    Last Post: May 02, 2012, 5:37 PM
  2. [CLOSED] Clear sorting in gridpanel with StateProvider="Cookie"
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 08, 2011, 8:45 AM
  3. Replies: 4
    Last Post: Oct 11, 2011, 2:42 AM
  4. Replies: 2
    Last Post: Jun 26, 2011, 1:59 AM
  5. FileUpload, How to set artibutes "accept"?
    By king1231986 in forum 1.x Help
    Replies: 1
    Last Post: Jul 21, 2010, 3:03 AM

Posting Permissions