-
26 Nov 2010 2:08 AM #161
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
-
26 Nov 2010 3:30 AM #162
-
26 Nov 2010 3:52 AM #163
It is the same as above with the filter example
in your Column:
comboRenderer: http://dev.sencha.com/deploy/dev/doc....form.ComboBoxPHP Code:,{header : 'State', dataIndex : 'STATE', editor : stateCombo , renderer : comboRenderer(stateCombo)}
your combobox store
your comboboxPHP Code:var stateStore = new Ext.data.JsonStore({
autoDestroy: true,
url: 'getStates.php',
root: 'rows',
fields: ['STATE', 'NAME_ENGLISH'],
autoLoad: false
});
PHP Code:var stateCombo = new Ext.form.ComboBox({
name: 'STATE',
width: 200,
fieldLabel: 'State',
title:'States',
emptyText: 'Select state',
mode: 'local',
store: stateStore,
displayField: 'NAME_ENGLISH',
valueField: 'STATE',
typeAhead: true,
forceSelection: true,
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
-
26 Nov 2010 4:49 AM #164
-
26 Nov 2010 4:54 AM #165
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.
-
26 Nov 2010 5:19 AM #166
-
26 Nov 2010 5:11 PM #167
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#post314342First I would like to thank you for your time and knowledge
Win 7 Ext JS 4.1.3 IE(6-9), FF17
-
29 Nov 2010 5:32 AM #168
Can someone help me with the button on the clean filters?
-
30 Nov 2010 3:20 AM #169
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?
-
30 Nov 2010 3:20 AM #170


Reply With Quote
