1. #161
    Sencha User
    Join Date
    May 2007
    Posts
    113
    Vote Rating
    1
    Fabyo is on a distinguished road

      0  

    Default


    How do I create a listeners for when they use the search button to "clearFilters" stand on, that do not have any value in the search fields the button is disabled

    imagem2.JPGimagem1.JPG

    +-
    Code:
    listeners: {
        change: function() {
            if (condicao) {
                clearFiltersButton.enable();
            } else {
                clearFiltersButton.disable();
            }
        }
    }
    ?

    thanks

  2. #162
    Sencha User filippo.ferrari's Avatar
    Join Date
    Apr 2010
    Location
    Sanremo - Italy
    Posts
    126
    Vote Rating
    1
    filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute

      0  

    Default


    Quote Originally Posted by msinn View Post
    STATE ist the dataIndex config option of your Column which is bound to your field name of the store record (grid store), so the filter is just bound to it too. Your filter send to your grid load script STATE. Play a little bit with firebug and you'll see exactly how the filter parameters are sent.
    Ok, client-side works as aspected, and params are sent aspected too, now I'm focused on server side!! My trouble was to link the store correctly.

    An extra question, anyone has developed a filter using ExtComboBox? (using a store to get remote data)....

  3. #163
    Touch Premium Member msinn's Avatar
    Join Date
    Jul 2009
    Location
    in front of my pc
    Posts
    280
    Vote Rating
    5
    msinn is on a distinguished road

      0  

    Default


    Quote Originally Posted by filippo.ferrari View Post
    Ok, client-side works as aspected, and params are sent aspected too, now I'm focused on server side!! My trouble was to link the store correctly.

    An extra question, anyone has developed a filter using ExtComboBox? (using a store to get remote data)....
    It is the same as above with the filter example

    in your Column:

    PHP Code:
    ,{header 'State'dataIndex 'STATE'editor stateCombo renderer comboRenderer(stateCombo)} 
    comboRenderer: http://dev.sencha.com/deploy/dev/doc....form.ComboBox

    your combobox store

    PHP Code:
    var stateStore = new Ext.data.JsonStore({
              
    autoDestroytrue,
              
    url'getStates.php',
              
    root'rows',
              
    fields: ['STATE''NAME_ENGLISH'],
              
    autoLoadfalse
        
    }); 
    your combobox

    PHP Code:
    var stateCombo = new Ext.form.ComboBox({
              
    name'STATE',
              
    width200,
              
    fieldLabel'State',
              
    title:'States',
              
    emptyText'Select state',       
              
    mode'local',
              
    storestateStore,
              
    displayField'NAME_ENGLISH',
              
    valueField'STATE',
              
    typeAheadtrue,
              
    forceSelectiontrue,
              
    triggerAction'all',
              
    hiddenName'STATE',
              
    hiddenId:'comboId'
        
    }); 
    First I would like to thank you for your time and knowledge

    Win 7 Ext JS 4.1.3 IE(6-9), FF17

  4. #164
    Sencha User filippo.ferrari's Avatar
    Join Date
    Apr 2010
    Location
    Sanremo - Italy
    Posts
    126
    Vote Rating
    1
    filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute

      0  

    Default


    Quote Originally Posted by msinn View Post

    PHP Code:
    ,{header 'State'dataIndex 'STATE'editor stateCombo renderer comboRenderer(stateCombo)} 
    comboRenderer: http://dev.sencha.com/deploy/dev/doc....form.ComboBox
    The above is the column configuration? And what about filter configuration? What's "comboRenderer" ??

  5. #165
    Sencha User filippo.ferrari's Avatar
    Join Date
    Apr 2010
    Location
    Sanremo - Italy
    Posts
    126
    Vote Rating
    1
    filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute filippo.ferrari has a reputation beyond repute

      0  

    Default


    With my request: "a filter using Ext.ComboBox" I mean a new filter type that have comboBox as input field, a comboBox linked to a remote store.

  6. #166
    Touch Premium Member msinn's Avatar
    Join Date
    Jul 2009
    Location
    in front of my pc
    Posts
    280
    Vote Rating
    5
    msinn is on a distinguished road

      0  

    Default


    Quote Originally Posted by filippo.ferrari View Post
    With my request: "a filter using Ext.ComboBox" I mean a new filter type that have comboBox as input field, a comboBox linked to a remote store.
    theres just list, this extension doesn't support a combobox, so far as I know
    First I would like to thank you for your time and knowledge

    Win 7 Ext JS 4.1.3 IE(6-9), FF17

  7. #167
    Touch Premium Member msinn's Avatar
    Join Date
    Jul 2009
    Location
    in front of my pc
    Posts
    280
    Vote Rating
    5
    msinn is on a distinguished road

      0  

    Default


    Quote Originally Posted by filippo.ferrari View Post
    With my request: "a filter using Ext.ComboBox" I mean a new filter type that have comboBox as input field, a comboBox linked to a remote store.
    Hi,
    there was somethig for an older version of GridFilters, maybe you can debug and update it, give a try.

    http://www.sencha.com/forum/showthre...342#post314342
    First I would like to thank you for your time and knowledge

    Win 7 Ext JS 4.1.3 IE(6-9), FF17

  8. #168
    Sencha User
    Join Date
    May 2007
    Posts
    113
    Vote Rating
    1
    Fabyo is on a distinguished road

      0  

    Default


    Can someone help me with the button on the clean filters?

  9. #169
    Sencha User
    Join Date
    Nov 2010
    Posts
    54
    Vote Rating
    0
    leowyatt is on a distinguished road

      0  

    Default


    I've been using this filter with the checkbox selection model but if the user checks rows and then filters data the rows are no longer checked. If there anything in particular I need to do to get it to save which check boxes have been checked?

  10. #170
    Sencha User
    Join Date
    Nov 2010
    Posts
    54
    Vote Rating
    0
    leowyatt is on a distinguished road

      0  

    Default


    Quote Originally Posted by Fabyo View Post
    Can someone help me with the button on the clean filters?
    help in what way?

Thread Participants: 84

  1. VinylFox (1 Post)
  2. galdaka (2 Posts)
  3. Condor (10 Posts)
  4. cgi-bin (4 Posts)
  5. Fabyo (8 Posts)
  6. fshort (1 Post)
  7. digitalkaoz (1 Post)
  8. steffenk (2 Posts)
  9. brookd (1 Post)
  10. jamie.nicholson (1 Post)
  11. sawan (1 Post)
  12. froamer (1 Post)
  13. jaquet (1 Post)
  14. KevinChristensen (1 Post)
  15. bernd01 (2 Posts)
  16. tonedeaf (7 Posts)
  17. seg (1 Post)
  18. calavera (5 Posts)
  19. httpdotcom (1 Post)
  20. Timido (3 Posts)
  21. mfrancey (1 Post)
  22. WixSL (1 Post)
  23. drieraf (1 Post)
  24. nickweavers (2 Posts)
  25. goofy (1 Post)
  26. mynameisyoda (1 Post)
  27. manilodisan (1 Post)
  28. eyetv (1 Post)
  29. renoye (3 Posts)
  30. pouniok (2 Posts)
  31. mcouillard (6 Posts)
  32. Scorpie (1 Post)
  33. wiznia (1 Post)
  34. fulfowi (2 Posts)
  35. benmclendon (1 Post)
  36. roemisch (2 Posts)
  37. zeruyo (1 Post)
  38. dizor (1 Post)
  39. SunWuKung (5 Posts)
  40. mx_starter (1 Post)
  41. jimtyp (2 Posts)
  42. nitingautam (1 Post)
  43. westy (2 Posts)
  44. slemiere (1 Post)
  45. mike2406 (2 Posts)
  46. msinn (12 Posts)
  47. RanmaSaotome (1 Post)
  48. cnicolas (2 Posts)
  49. lsaffre (1 Post)
  50. astraschedule (1 Post)
  51. hankin (2 Posts)
  52. mrinaljena (1 Post)
  53. dtex-lab (1 Post)
  54. yohnan (2 Posts)
  55. Override (2 Posts)
  56. hjones (1 Post)
  57. hexawing (1 Post)
  58. taronja (6 Posts)
  59. asbestos girl (7 Posts)
  60. stalek (1 Post)
  61. mpawlowski (1 Post)
  62. DerSalz (1 Post)
  63. jimm (1 Post)
  64. blueberrymuffins (2 Posts)
  65. gleskinen (1 Post)
  66. pmdarrow (1 Post)
  67. Fallen Zen (1 Post)
  68. filippo.ferrari (6 Posts)
  69. george4rotech (2 Posts)
  70. Ebpo (1 Post)
  71. Reimius (1 Post)
  72. webtime (9 Posts)
  73. Christiand (1 Post)
  74. Oliver Specht (1 Post)
  75. novaku (1 Post)
  76. sizemorew (1 Post)
  77. # eof (1 Post)
  78. ldonofrio (3 Posts)
  79. david777 (1 Post)
  80. ExTriqui (4 Posts)
  81. leowyatt (7 Posts)
  82. JSassy (1 Post)
  83. hachie (1 Post)
  84. radmila80 (1 Post)