-
20 Sep 2010 2:29 AM #121
Hi,
While upgrading from Ext 3.1.1 to Ext 3.2.1, we faced a problem with the GridFilters plugin.
To explain, we have a FormPanel with some fields, and when we type in those fields, it activates the columns filters. This works perfectly, it's just a way to show the filters instead of having them hidden in the columns menus.
But then, we have a report engine, to print the grid data. The report engine is using the parameters of the grid store to get the same results, and in the Ext 3.1.1 the GridFilters plugin was well saved in the store.lastOptions of the grid.
Since Ext 3.2.1, the lastOptions object did not contain any information about the sent filters.
Someone has a clue how I could fix this ? The plugin didn't seem to have changed, so maybe the store has a different way to handle requests, but I didn't find anything while looking for it.
Thank you,
Pouniok.
-
28 Sep 2010 2:11 PM #122
How to uncheck filter data items in a Gridfilter?
How to uncheck filter data items in a Gridfilter?
Wonderful work. Using Ext 3 and have a question about clearing the checked filter data items. Not entirely clear how to do this. Our app has a "Clear Filter Data" button and clearFilters() unchecks the parent "Filter" in the menu pulldown, but not the data items in the filter list. We want to uncheck those. Suggestions? Thanks very much.
-
29 Sep 2010 1:40 AM #123
pouniok,
did you upgrade your GridFilters files too, or just base ext libraries?
-
12 Oct 2010 12:43 AM #124
Don't know if this is a known issue, but when upgrading from 3.1.1 to 3.2.2 the booleanfilter is not working when using dynamic filter loading. It is because the property this.store.fields.get(dI).type.type is returning 'bool' instead of the expected 'boolean' value. You can change the getFilterClass to make it work again:
getFilterClass : function (type) {
// map the supported Ext.data.Field type values into a supported filter
switch(type) {
case 'auto':
type = 'string';
break;
case 'int':
case 'float':
type = 'numeric';
break;
case 'bool':
type = 'boolean';
break;
}
return Ext.ux.grid.filter[type.substr(0, 1).toUpperCase() + type.substr(1) + 'Filter'];
}
-
24 Oct 2010 2:06 PM #125
Anyone can help me in adding this plugin to a dinamic grid (configured via json)???
Thanks to all for answer...
-
26 Oct 2010 2:31 AM #126
In my case keyboard arrows doesn't work in textfield (string filter) - the same in examples. Any solutions?
-
4 Nov 2010 3:21 AM #127
Help Please
Help Please
Anyone have some sample for configure filter via json (column model for dinamic grid) and not via filters var???
Thanks for answer..
-
4 Nov 2010 4:07 AM #128
You mean this?:
Code:columns: [ {dataIndex: "customer", header: "Customer", width: 2, filter: {type: "string"}}, {dataIndex: "credit", header: "Credit limit", width: 1, filter: {type: "float"}} ]Last edited by ExTriqui; 4 Nov 2010 at 4:08 AM. Reason: Better visualization
-
4 Nov 2010 4:11 AM #129
maybe that could help you:
ext/examples/ux/gridfilters/GridFilters.js line 75
ext/examples/grid-filter-local.js line line 87
http://dev.sencha.com/deploy/dev/exa...id.GridFiltersFirst I would like to thank you for your time and knowledge
Win 7 Ext JS 4.1.3 IE(6-9), FF17
-
4 Nov 2010 4:31 AM #130


Reply With Quote