I was able to solve the GridFilter + PagingMemoryProxy issue. I'll post my solution once I get it cleaned up, but in the meantime if anyone else runs into this contact me and I'll try and help.

Hi tfrugia,

I am having the exact same problem with PagingMemoryProxy and GridFilters that you described in a previous post:

"Has anyone successfully used the PagingMemoryProxy with GridFilters? I have it working, but when I filter it filters each individual page. If I start with 9 pages of 100 and set a filter, it filters each individual page (so I may have 3 rows on page 1, 10 on page 2, etc)."

Do have any example code that you can share on how you fixed this? I have been struggling with this for many hours now -- many thanks for any help!

Daina

15 May 2009, 1:33 AM

Hello,
I am a new ExtJs user. I would like to use the grid filtering but it does not work. My grid is generated and I have no mistakes but I don't have the filter menu in the grid menu. I am not using any Php and I just read a .json file to load my data. Please could you exaplin me what are the requirement to make the grid filter work? I attach my code and the picture of its result. My code file is very long but it include the javascript code required to create grid filter. Only the red part is the grid code.

Thanks for your help,

Mr. Hibernate

15 May 2009, 2:09 AM

.. because the cookie information seems to be not available any more.

Try the following @ http://extjs.com/deploy/dev/examples...id-filter.html (http://extjs.com/forum/../deploy/dev/examples/grid-filtering/grid-filter.html)

Filter by only visible entries.
Click on the price-header so the entries of the grid will be sorted by price by default.
Hit the F5-Button on your Keyboard (or simply reload the page)
The grid entries are sorted by price by default (as we wish..).
Hit F5 again (or simply reload the page).
The grid entries ain't sorted by price any more.This "bug" only occurs if we use the filtering plugin, that means if you only click on the header to sort by price for example, you can reload your ass off and the grid keeps sorted by price..

Some advise?

Kind regards

Mr. Hibernate

gmoney

15 May 2009, 10:39 PM

Hi,

Any have this extension working in Ext 3.0 rc1.1. I only have a problem with images (View image).

Greetings,

Having the same problem here with missing icon images in 3.0rc1.1 in IE only. Did you find a fix yet?

heho2495

23 May 2009, 6:33 PM

I had to changes buildQuery to work with java. Problem is that it doesn't retain the selection on column header after successfully done. I know I have to tweak something on GridFilter.js but not sure what. Can anyone please help?

hello guys im quite new with extjs and I like it very much...when I saw this plugin I loved it even more but I have some problems with the image of the greater less equal icons because what happen is that all logo duplicates in the container like for example
*************************
________
< [________]
< _________
> [__________]
> __________
= [___________]
=
*************************
I'm sorry I dont have any screenies with me but the presentation is something like that....but if i remove the css config position:relative then the icons doesn't appear.....thank you guys I hope you can help me fix the problem

Andreas B.

27 May 2009, 3:01 AM

There appears to be a problem getting this plugin working in Ext 3.0 RC1.

Has anyone else tried?

When trying to click a filter checkbox in the drop down menu FireBug reports the following error...

d.itemId is undefined
[Break on this error] Ext.DomHelper=function(){var w=null,l=/^...(Ext.History,new Ext.util.Observable());

Hi all,

I am having the same problem here. Does anyone know more about it?

Greetings,
Andreas

youdie

29 May 2009, 2:27 PM

Hi all,
Quote:
Originally Posted by cherbert http://extjs.com/forum/images/buttons/viewpost.gif (http://extjs.com/forum/showthread.php?p=320006#post320006)
There appears to be a problem getting this plugin working in Ext 3.0 RC1.

Has anyone else tried?

When trying to click a filter checkbox in the drop down menu FireBug reports the following error...

d.itemId is undefined
[Break on this error] Ext.DomHelper=function(){var w=null,l=/^...(Ext.History,new Ext.util.Observable());

Basically, it's just getting Ext to use its own encapulation for the itemId.

Simon

Datagenn

4 Jun 2009, 10:00 AM

*Solution below..

The problem:
Many grids with their own stores each make a call to the server but I want only one call, use filters and a paging toolbar.

Solution:
First, I load one main big store with all the data using one server call.

mainBigStore.load();
Then on each of the niche stores I do this to populate just their specific data:

nicheStore1.loadData(mainBigStore.reader.xmlData);
nicheStore2.loadData(mainBigStore.reader.xmlData);
etc..
All this is good until you want to use grid filters and paging toolbars that give "page NaN of blah". Really annoying.

position: relative; to the style definitions for .ux-rangemenu-lt, .ux-rangemenu-gt and .ux-rangemenu-eq

Lee Rowlands
Bundaberg Web Design (http://www.rowlands-bcs.com)

Using ExtJS 3.0-RC2, the icon are duplicates (appear twice) when using the
position: relative; (see screenshot). Any idea on how to fix this? Plus the icon for the text filter is slightly too big (compared to the reference design of the author of this great plugin :P)

http://img194.imageshack.us/img194/6843/screenshot001u.png

Also, the link for the PHP back-end is dead. Does anyone know where I can get t he full source of the example?
Thanks

Also, the link for the PHP back-end seems to be dead. Does anyone know where I can get it?

I'm using the following store configuration for my list filters, and are working fine (I've even made an override for changing the name of the filter sent to the server, it's described above on this page):

Hope it works for you. It works perfectly fine on my Safari 4.0, Firefox 3.0.11. Not sure about IE coz I'm on Mac now :D
:)):))

azbok

16 Jun 2009, 9:54 AM

Those css updates fix the width problem, thanks!

It works for me in Linux Firefox 3.0.4 but in windows IE6, the icons don't show. I'm not sure about other IE versions. I figure somehow the icons are cropped out somehow.

chaoszcat

16 Jun 2009, 10:04 AM

I think for IE just do some IE check-and-fix. Anyone with IE installed care to share his code? :D (Lazy to boot windows!)

coriolis

16 Jun 2009, 10:07 AM

will these findings be incorporated into the next release of GridFilter?

Thanks

sabiola

16 Jun 2009, 11:14 PM

Hello,

will these findings be incorporated into the next release of GridFilter?

the question here is, _who_ is working on a new version of GridFilter?

I wrote a mail to the original author of the extension.
This is the answer i got:

Hi Stefan,

Unfortunately the product I work on has not made the jump to 3.0 yet (and it may be some time yet), so I can't devote any time at work to updating them. Additionally, I 'gave' the Ext team ownership of the filters about a year and half ago, and I am not exactly sure who maintains it. I do remember reading that Jack was working on some "Vista Style" filters however. Sorry =\

--Steve

Greetings,
Stefan

chaoszcat

17 Jun 2009, 12:03 AM

In anyway this is a great plugin to be included in Extjs. :D

calavera

17 Jun 2009, 1:40 AM

So I guess nobody has this issue. I have inspected the "misplaced" input field with Firebug when it occurred and noticed a style attribute: position: fixed; . If I use the Firebug CSS simulator/editor and I change the element style from position fixed to position absolute, guess what ? It jumps back into its place. So I might be wrong but this could be the solution. The problem is that the input element doesn't take its position:fixed property from any of the CSS file. Instead, it has a property: style="position:fixed;" attached to it. So I need to go deep into the field generation and edit the property there or something. Any ideas for how could I modify there as it doesn't take the position attribute from any of the CSS files ?

I have attached a screenshot. Maybe someone can help. Thank you!

Any new ideas on this issue: https://extjs.com/forum/showthread.php?p=277993#post277993 ?

Thanks.

azbok

17 Jun 2009, 9:11 AM

Any new ideas on this issue: https://extjs.com/forum/showthread.php?p=277993#post277993 ?

Thanks.

Ideally all the style stuff should be in the CSS files, so if you wanted to monkey with the code, I'd feel free to edit the code with the style="position:fixed" and adjust the css. I figure there's 2 basic strategies: 1) Do any sorta hack to make things work in the various browsers 2) Once it works, then its much easier to do a more "proper" fix whatever that may be.

The way I derived the styles I posted a few posts ago was just thru Firebug trial and error. Since the author of the plugin has no time, it's basically up to the community to figure it all out and get it working for ourselves.

As for the error you are getting with the random scrambling... that is very odd. The items are being rendered differently from time to time I guess. That's generally a hard problem to find.

I think it would be awesome if the Grid Filter plugin eventually gets put into the core of Ext!

mjlecomte

17 Jun 2009, 10:40 AM

I'm the one that posted this ux to the ux repo in my signature.

This ux was removed from svn and examples as it needed some attention to get it working for 3.x. In 3.x the "example classes" like this one and others have been moved to the "ux" directory for consistency etc.

I haven't been able to keep up with all the posts of changes in this thread. If anyone has suggested fixes for 3.x compatiblity feel free to pm me and I'll do what I can to see they get implemented.

Thomas Triplet

17 Jun 2009, 11:18 AM

If you have the problem similar to the posted image below (duplicate icon), do the following. Thanks to azbok (http://extjs.com/forum/showthread.php?p=343922#post343922) for the inspiration :):)

Hope it works for you. It works perfectly fine on my Safari 4.0, Firefox 3.0.11. Not sure about IE coz I'm on Mac now :D
:)):))

Worked just great! Thanks a lot for the patch

coriolis

19 Jun 2009, 5:49 AM

I have a situation where I have multiple columns with active filter and then when I try to unclick one filter to take it out of consideration, the checkbox is not clickable. I cannot take a filter of play.

I am using 0.2.8.

Thanks
Ed

sabiola

22 Jun 2009, 2:02 AM

Hello,

I added a thread about the GridFilter Extension to the 3.x Extensions Board:
http://www.extjs.com/forum/showthread.php?t=72024

I think, this is a better place to discuss 3.x problems.

Greetings,
Stefan

Sesshomurai

22 Jun 2009, 5:28 AM

Hey guys,
Great work keeping this plugin working! I spent about 30 minutes trying to cull this thread for an answer.

But is there a way to get the filter params from the grid so I can create a URL from key/value pairs?

I need to do this programmatically.

Thanks for any tips!

hendricd

22 Jun 2009, 5:30 AM

the Filters class has a nice getState method that returns a nice hash of all active Filters.

Sesshomurai

22 Jun 2009, 6:08 AM

the Filters class has a nice getState method that returns a nice hash of all active Filters.

Gracias Amigo!

martinorth

23 Jun 2009, 7:33 AM

Hi,

I have a working list filter wich gets data from a store. The problem is that the menue does not collapse(close) when I select an option from the menu. I have to click elsewhere on the screen to close the menu.

I found the solution. It is not a bug it's a feature. The menu should not collapse if you want to select multiple options but if it is allowed to only select a single option (single: true) I set hideOnClick: true. Take a look at line 71 of ListMenu.js.

simply change hideOnClick: false to hideOnClick: this.single

mjlecomte

23 Jun 2009, 7:55 AM

the Filters class has a nice getState method that returns a nice hash of all active Filters.

Do you mean saveState? But that doesn't seem right either.

yourGrid.filters.getFilterData() seems like a viable option.

igor_vlad

29 Jun 2009, 4:42 AM

Hello, I used the filter plug-in with the Ext-2.0 and it was working perfectly.
I just noted that after upgrade to Ext-2.2.1 I have a problem with Filters (see attachments).
The bug is reproducible on IE7 and Firefox3

And also on samples page I see the same effect
http://extjs.com/deploy/dev/examples/grid-filtering/grid-filter.html (http://extjs.com/forum/../deploy/dev/examples/grid-filtering/grid-filter.html)

Any solution?
Thank you.

azbok

29 Jun 2009, 9:28 AM

Hello, I used the filter plug-in with the Ext-2.0 and it was working perfectly.
I just noted that after upgrade to Ext-2.2.1 I have a problem with Filters (see attachments).
The bug is reproducible on IE7 and Firefox3

And also on samples page I see the same effect
http://extjs.com/deploy/dev/examples/grid-filtering/grid-filter.html (http://extjs.com/forum/../deploy/dev/examples/grid-filtering/grid-filter.html)

Any solution?
Thank you.

Myself and chaoszcat (http://extjs.com/forum/member.php?u=74912) developed a solution:
http://extjs.com/forum/showthread.php?p=343966#post343966

For me though, last time I experimented with that solution, icons don't show in IE6, but worked in Firefox3. It may work in IE7, I dunno.

arkrohne

1 Jul 2009, 11:37 AM

I noticed there were many implementations of the server side code for this, but after a lot of searching, I cannot find anything in ASP. Does such code exist?

Remy

1 Jul 2009, 12:32 PM

Not sure what you mean by that exactly but I use ExtJs and Classic ASP, do you mean triggering filtering via an ajax call? It's very similar to PHP I set autoReload:true on my filter config, then in the .ASP page, something like:

I retrieve the filters from the request object and place them in a multi-dimentional array. After retrieving them, I can loop through this array and build SQL statements to retrieve the filtered data.

wiznia

7 Jul 2009, 9:15 AM

Hi everybody! I've been using this plugin for a while, and I always had doubt of why the phpMode option was there.
I see that when it's on, it joins all the values with ",", because if you don't do so, despite you send 2 values, it just gets one of them. This would be an example of the params sent:
filter[0][field] = fieldName
filter[0][data][type] = list
filter[0][data][value] = Value1
filter[0][data][value] = Value2
Here, php ignores one of the values. The fix I made transforms that request would be:
filter[0][field] = fieldName
filter[0][data][type] = list
filter[0][data][value][] = Value1
filter[0][data][value][] = Value2

So, you don't need to do anything on the server, it is received as an array. Besides, you don't have to worry if the values you send have a "," or not.
Here is the fix:

Now store is set to myStore but how to set list to the values coming from store.???

hendricd

11 Jul 2009, 1:48 PM

Can anybody please tell me how to specify store in grid filters. I managed to specify the store but how to get the values coming from store into this filter.

var filters = new Ext.grid.GridFilters({filters:[
{
type: 'list',
dataIndex: 'category',
store:myStore // store is set but two rows displaying undefined
,phpMode:true
}
Now store is set to myStore but how to set list to the values coming from store.???

@zkhalid -- Since it's implemented as a plugin for GridPanel, treat it as such:

It's been a while since I implemented this, so I hope I have the latest source code, but here goes.

We wanted to use the intelligence of the Grid Filter plugin, but to have the actual setting of the filter values extracted to a pop-up window so that the user could easily see all the filters in place. The way I approached it was to declare all the filters with the attribute of showMenu: false, and then just use the filter methods to set and clear the values. This has worked great so far with only a small glitch which I'm not quite certain why it only happens at this one specific time. But without getting into great detail of what that is, can someone tell me if the following assessment is correct?

In the GridFilters.onStateChange method it updates the checked state of the menu without checking to see if showMenu was set to true. Would the following change be accurate/warranted?

li.x-menu-list-item-indent {
padding:0px;
}
Hope it works for you. It works perfectly fine on my Safari 4.0, Firefox 3.0.11. Not sure about IE coz I'm on Mac now :D
:)):))

it dont resolve the problem in IE6. i cant see any icons. Any other solutions?

azbok

30 Jul 2009, 6:05 AM

I also need to fix the problem for IE (IE6 anyway), but I haven't gotten a chance to work on that yet. That icon problem has been around for a little while now but not many people have posted about it, so it's high priority yet.

mjlecomte

30 Jul 2009, 10:54 AM

There's a 3.x version in svn now for those interested, click here (http://extjs.com/forum/showthread.php?t=76185).

arkrohne

4 Aug 2009, 8:16 AM

Looking through the docs/examples, I don't see a clear way of serialising/saving the current filter settings. Basically, people using the application I'm working on often use 2 or 3 different settings all the time, and would like to be able to save the settings, and quickly switch between them. The bit I'm having trouble with is figuring out how to get the filters current state in an easy to save (and restore) fashion. Does such a method exist? I know that I can keep one state between sessions, with the ext.state.Manager, but I'm not sure how to go about saving multiple states for the filters. filter.getFilterData seems promising, but I don't quite see how to load that data back in.

arkrohne

4 Aug 2009, 10:55 AM

Looking through the docs/examples, I don't see a clear way of serialising/saving the current filter settings. Basically, people using the application I'm working on often use 2 or 3 different settings all the time, and would like to be able to save the settings, and quickly switch between them. The bit I'm having trouble with is figuring out how to get the filters current state in an easy to save (and restore) fashion. Does such a method exist? I know that I can keep one state between sessions, with the ext.state.Manager, but I'm not sure how to go about saving multiple states for the filters. filter.getFilterData seems promising, but I don't quite see how to load that data back in.
And in reply to myself, I finally figured it out. filters.saveState and filters.applyState does exactly what I need, especially when I remember to do a filters.reload()!

renoye

6 Aug 2009, 4:13 PM

anyone found a solution for the icon issue on IE? I believe it is css issue.
It seems IE do not like image tag has a backgroud-image style.

euphORIA

10 Aug 2009, 6:42 AM

Very nice plaugin! Many thanks!

The only problem that I have, as some others have pointed before me, is that the filter is not working correctly for a grid with pagination and a local store.

It is only taking into account the data in the current page. Is there a solution for this problem?

Thanks again!

*Edit: I have used renoye method and it seems to work. I don't know if this hack would be the best option but I appreaciate the code :)

euphORIA

12 Aug 2009, 7:59 AM

I have another issue, this time with the initial load of the grif.

I am again using a local store, and passing some initialization values for some filters, but they are not taked into account. I mean, the filters are initialized but they are not applied to the grid.

I suppose that I am missing something obvious but I don't see where the problem could be. As far as I understood, this problem was fixed a long time ago (link (http://extjs.com/forum/showthread.php?p=84912#post84912)).

s=request("start"):l=request("limit"):flds=unescape(request("fields")):q=unescape(request("query")):i=0:fld="":dtyp="":dv="":dcp=""tr=""
do while true
fld=request("filter["&i&"][field]")ym=" like "ym1="'"ym2="%"
if fld="" then exit do
dtyp=request("filter["&i&"][data][type]")
dv=unescape(request("filter["&i&"][data][value]"))
dcp=request("filter["&i&"][data][comparison]")
if dtyp="numeric" or dtyp="date" then
sym2=""
if dtyp="numeric" then sym1=""
select case dcp
case "lt"
sym="<"
case "gt"
sym=">"
case "eq"
sym="="
end select
if dtyp="date" then sym=" "&sym&" "
if dtyp="date" and instr(dv,"/")<>0 then
a1=split(dv,"/")
dv=a1(2)&"-"&a1(0)&"-"&a1(1)
end if
elseif dtyp="list" then
a1=split(dv,","):dv=""
for j=0 to ubound(a1)
dv=dv&",'"&a1(j)&"'"
next
if dv<>"" then dv=mid(dv,2)
str=str&" and "&fld&" in("&dv&")"
end if
if dtyp<>"list" then str=str&" and "&fld&sym&sym1&sym2&dv&sym2&sym1
i=i+1
loop
if str<>"" then
str=mid(str,6)
set d_cond=dT.getParsedCond(cond)
cond=d_cond("cond")
if cond<>"" then
set rg=new RegExp
rg.pattern="^(.+)(order by.+)$"
rg.ignorecase=true
if rg.test(cond) then
cond=rg.replace(cond,"$1and ("&str&") $2")
else
rg.pattern="^(order by.+)$"
if rg.test(cond) then
cond=rg.replace(cond,str&" $1")
else
cond=cond&" and ("&str&")"
end if
end if
set rg=nothing
else
cond=str
end if
set d_cond=nothing
end if
response.Write dT.getJsonData(tId,s,l,flds,q,cond)

zkhalid

23 Aug 2009, 9:28 PM

Hi All

I need some help regarding the extJS filters. How can i get all the filters that a user has set on the grid??? Means if user selects a filter with selected value HIGH i want to show it somewhere (may be in an extra row) his current filter selection. for eg. if selected filter name is priority and user selected HIGH i want to show Priority-> HIGH.

euphORIA

27 Aug 2009, 6:35 AM

Hi All

I need some help regarding the extJS filters. How can i get all the filters that a user has set on the grid??? Means if user selects a filter with selected value HIGH i want to show it somewhere (may be in an extra row) his current filter selection. for eg. if selected filter name is priority and user selected HIGH i want to show Priority-> HIGH.

In my case I am just updating the grid title but for your case you could use something similar:

I also need to fix the problem for IE (IE6 anyway), but I haven't gotten a chance to work on that yet. That icon problem has been around for a little while now but not many people have posted about it, so it's high priority yet.
I fixed it modifiying the EditableItem.js, in the onRender callback, I change the html property:

Does anybody tried merge or use HeaderGroup plugin and Grid Filter ? Or do you have any suggestions for extension which contains both of the mentioned features ? I need have Group headers and use grid filters.

Thanks for advice

dgubber

25 Sep 2009, 6:28 PM

When using the grid filter, I opted to create a new instance of the grid and grid store from a treeClick function, so that I could add a filter based on what was clicked in the tree, and use that as a base to the column filtering.

oIDSelect is set by reading the n.id entity and I added it in to be detected in the php filter.

So far it all actually works, with one exception. When I click back and forth over multiple tree selections, eventually I'll get 2 sets of identical drop downs in the filter menu. Both copies of the Sort Ascending and Descending work but only one set of the column disable check boxes and the filter itself works.

Has anyone else seen this set of syptoms?

Dan

coriolis

29 Sep 2009, 8:46 AM

Hi,

Can someone point me to a download link for the complete packaged application?

Also, the screencast of the documentation has a "ux" section. Where do we get this "ux" section? I am using the online documentation because the downloaded docs do not work for me.

Thanks

azaqero

29 Sep 2009, 9:12 AM

Hi,

Can someone point me to a download link for the complete packaged application?

Also, the screencast of the documentation has a "ux" section. Where do we get this "ux" section? I am using the online documentation because the downloaded docs do not work for me.

Thanks

Hi

Only download the last version 0.2.8 i think from this thread: Extjs Grid Filter (http://www.extjs.com/forum/showthread.php?t=14503)

Forgot the ux section (this worked for me), only include the js file on your html/php page:
<script type="text/javascript" language="javascript" src="myfile.js"></script>

Regards

tuxz0r

2 Oct 2009, 6:29 AM

I've taken the existing ListFilter.js file and modified it slightly to try and create a Combobox filter (for lists that have larger values than a checkbox list could support. However, I'm running into problems with the code. Page loads fine, but when I select the filter menu on the column the combobox doesn't display and the filter menu won't even let me mark the checkbox to activate the filter. I don't get any errors via Firebug or otherwise.

Any ideas would be appreciated. Here's my ComboFilter.js code below. I've check with firebug, and the store I'm using to load the data works fine (Ajax call, remote store) and inspecting the object shows it correctly in the store. I'm really at a loss here.

/**
* Lists will initially show a 'loading' item while the data is retrieved from the store. In some cases the
* loaded data will result in a list that goes off the screen to the right (as placement calculations were done
* with the loading item). This adaptor will allow show to be called with no arguments to show with the previous
* arguments and thusly recalculate the width and potentially hang the menu from the left.
*
*/
bindShowAdapter: function() {
var oShow = this.menu.show;
var lastArgs = null;
this.menu.show = function() {
if(arguments.length == 0) {
oShow.apply(this, lastArgs);
} else {
lastArgs = arguments;
oShow.apply(this, arguments);
}
};
},

I need your help.
I have a problem to gridFilter, when i want to filter with character single quote, this character no display in textInput to browser Firefox.I test with other browser, the character display.

I have desactivate firefox plugins and i have always this problem.

Thanks.

jeanvincent

12 Oct 2009, 8:09 AM

Hi,

I am using the ListFilter with a datastore and what I can't figure out from the ListFilter.js is how to have default values? In other words, what do I put in my json so that some of the checkboxes are checked by default?

In this post http://www.extjs.com/forum/showthread.php?p=71404#post71404
there are some screenshots of filter menus containing a hierarchy of menu items and one containing a tree.
Are there any examples on how to achieve this functionality?
Do this functionality require a filter (extension of Ext.ux.grid.filters.Filter) that is not provided in the grid filter plugin?
If so is this filter available anywhere?
Thanks in advance.

maznaz

27 Nov 2009, 11:35 AM

when i build grid for first time method to access filters

Ext.getCmp('gridId').filters.getFilterData()

works fine

but when i reopen tab and re render grid, filters are set up ok but calling getFilterData() throw exception

Ext.getCmp("gridId").filters.getFilterData is not a function

ideas?

I have exactly this problem.

Even if I destroy() both the grid and the filters as I change the page content, when I recreate them the previous filter is shown and the above error is present.

Also, debugging the filter object in firebug shows a much cut down, simple object instead of the full Extjs object that's shown before I clear the page.

Illiarian

10 Dec 2009, 2:03 AM

Illiarian, trying to get the 'combo filter to work.
What is the purpose of the 'options' attribute?
Is that a store variable for the appropriate combobox?

Hi iam using asp.net web service to do paging and sorting.I have added filter plugin. can i know how can i send the filter parameters(type, value, field) to server side .i.e. to web service.

rlieving

11 Jan 2010, 8:42 AM

Hi iam using asp.net web service to do paging and sorting.I have added filter plugin. can i know how can i send the filter parameters(type, value, field) to server side .i.e. to web service.

Pass the buildQuery function into the configuration for the grid filter as below:

buildQuery: function (f) {

if (f.length === 0) {
return;
}

[parsing code here - set store parameters]
}

I am uncomfortable using dynamic SQL (passing a raw where statement back), so I would parse the string on the server. That way, you can pass the whole thing back as one parameter AND you get a little extra security.

rlieving

11 Jan 2010, 8:50 AM

This filter is excellent. I find it is easy to implement with one exception.

I have a documentation question about the filter (or menu) events.

My grid automatically refreshes on a timer. This interferes with the filtering if the refresh happens while the user is typing in the filter box.

I would like to turn off the auto-refresh when the user activates a filter. And I would like to turn it back on when the filter is deactivated. I think I can easily navigate the object for those two conditions.

Do the controls on the filter raise events? Where can I read more about events? I looked through the code and don't quite understand it, but even if you point me to the actual Javascript, that should be enough for me.

please excuse me I am a newbie to extjs. My apologies if this have been answered before.

I have a form with a submit and export to XLS button. On the server side I use PHP. I have implemented most of the functionality eg. upon submit the grid is loaded with the data. I also have implemented paging and server-side filtering and sort

I am trying to implement the export to xls functionality now. My question is what is the proper way to get the filter and sort params from the grid((if they have been applied). The export button now submits the form data (which is one part of my sql query). I want to also extract the sort and filter params from the grid and send them to server too.

Thanks for any answer.

Regards

The Transporter

1 Mar 2010, 3:30 AM

Hi there,

please excuse me I am a newbie to extjs. My apologies if this have been answered before.

I have a form with a submit and export to XLS button. On the server side I use PHP. I have implemented most of the functionality eg. upon submit the grid is loaded with the data. I also have implemented paging and server-side filtering and sort

I am trying to implement the export to xls functionality now. My question is what is the proper way to get the filter and sort params from the grid((if they have been applied). The export button now submits the form data (which is one part of my sql query). I want to also extract the sort and filter params from the grid and send them to server too.

Has anyone attempted to use this filter plugin with Coldfusion 8? If so, would you be willing to share an example. I have been attempting to make the filter work with a cfgrid but I am not having much luck.

Thanks
Joe

The Transporter

15 Mar 2010, 10:35 AM

Has anyone attempted to use this filter plugin with Coldfusion 8? If so, would you be willing to share an example. I have been attempting to make the filter work with a cfgrid but I am not having much luck.

Thanks
Joe

I don't know colfusion, but for what I know of it, it's a server language, so, it shouldn't make any problem with ExtJS which is a client side language, and the grid plugin should work.
Of course, there are script to write on the server side to get it working properly!

jmilton59

15 Mar 2010, 11:31 AM

I don't know colfusion, but for what I know of it, it's a server language, so, it shouldn't make any problem with ExtJS which is a client side language, and the grid plugin should work.
Of course, there are script to write on the server side to get it working properly!

Coldfusion uses the EXT JS within it's <cfgrid> tag. I have figured out how to add a datepicker for example, by using setEditor to define the editor for the column index.

I'm trying to implement this plugin inside of my company's intranet and unfortunately we don't have PHP. We have Ext 2.3 and I need a grid filter.

Is there a way to get this plugin to work? Is there an alternative for non-PHP environments?

I've replicated the example exactly except my data is in a json file. The sorting, grouping features work great, it just won't filter the data.

Sorry if this question has been answered.

pmdarrow

1 Apr 2010, 12:04 PM

Hi all. Is there any way filter a column that's rendered using multiple data columns? For instance, I have a grid column with the header "Full Address" that uses a custom renderer ("addressRender") to combine Street, City, State/Province, Zip/Postal Code, and Country for each row. The column definition looks like this:

{ header: 'Full Address', dataIndex: 'Street', sortable: true, width: 168, renderer: this.addressRenderer }Notice that although the dataIndex is only 'Street', the render appends the data from the other columns using record.data.City, record.data.Country, etc. This poses a problem for the filtering plugin though because filters are defined by dataIndex and not column header.

The following filter definition will add filtering to the "Full Address" column but will only build queries against the Street column, not all of the other columns:

new Ext.ux.grid.GridFilters({
filters: [
{ dataIndex: 'Street', type: 'string' }
],
})
},Can anyone suggest a way to modify the grid filters plugin to work in this case?

pbuser

4 Apr 2010, 11:27 PM

This is a great work and I'm trying to find out if I can use it for my CD project.
In order to use it locally (adding it to client side only), I modified it to handle statice data inside js code but no luck.

Forgive me for not reading all 85 pages of this thread, but is there a way to quickly grab the current filters and/or load them?

I'm looking to save a user's preferences (aka last filter setting) and load them back up the next time they login, this way a user who finds themselves constantly setting the same filter upon login won't have to do this any more. Thanks in advance.

hendricd

7 Apr 2010, 8:46 AM

@mikeasi --
the Filter class's getState method returns a nice hash of currently active filters. It's also used in conjunction with the built-in state mgt.

mikeasi

7 Apr 2010, 8:51 AM

Thanks, hendricd! That worked like a charm.

Reimius

21 Apr 2010, 10:46 AM

Thanks, hendricd! That worked like a charm.

Can you provide an example of what you did, I need exactly the same thing as what you did, but I am confused because the Filter class does not appear to have a getState() method.

If anyone else has been able to do this, please give me an example of how, thanks

mikeasi

23 Apr 2010, 8:52 AM

Is there a way to specify a state when you first specify the filters? I'm looking to load up the filter state when I call

this.plugins = new Ext.ux.grid.GridFilters({
filters:[{....}]
});

I'm loading a state when I initialize a grid if the user has a preference specified, but right now I'm applying the state on the render event, I'd rather have it specified from the start.

mikeasi

23 Apr 2010, 8:57 AM

Can you provide an example of what you did, I need exactly the same thing as what you did, but I am confused because the Filter class does not appear to have a getState() method.

If anyone else has been able to do this, please give me an example of how, thanks

var state = {}
this.filters.saveState(this,state);

that will populate the state variable with a JSON representation of your current filter settings

this.filters.applyState(this,state);
this.filters.reload();

that would load that JSON into the filters and reload

Feel free to correct/revise my example, experts.

fabsen2102

3 May 2010, 12:00 PM

Hi!
I didnt read all the threads.. sorry!
I have implemented all the scripts and the filter is shown.. After select a filter the relaod is fired, but nothing happens.
I debugged the code and the filter is set.. But it doesn't work.. I've got no idea why..

how fix?
css loaded, images loaded, but on rendering have this problem

ebinfo

5 May 2010, 7:41 AM

i am having a little issue with the filters, however i am not sure if this is possible.

my client has asked that i provide him with something web-based but as close to excel spreadsheet as possible.

the filters are working tremendously great for list types, however he does not like the fact that he has to type the filter he wants to use when dealing with a string filter. he would like to have a filter type where he can just tick the values he wants in there to apply to the filter, exactly like excel does.

"data":[{"id": 1000, "text":"F1"},
{"id": 1001, "text":"F1"},
{"id": 1002, "text":"F3"}
]The menu list fills ok, with the correct data, but when I want to filter, the filter[1][data][value] sent to the server, is wrong(a number.) Can you please give me a clue on what could be wrong with this store?
Another question would be if I can send the id to the server, and show the text in the list menu.

Thank you!

warmi01

12 May 2010, 7:22 AM

Hi,

Sorry if this info is available elsewhere or if I am posting in the wrong place, but I am a newbie to the forum (1st post) and am interested in this plug-in.

Questions:

1. We are currently using Ext GWT 2.1.1, so I assume this is the compatible plug-in version we should use (i.e. not 3.x)? Is there a direct interface in GXT or would that need to be written?
2. We have a commercial GXT license. What licensing applies to UX plug-ins? Are they covered under commercial license or separate? etc.
3. If there are different licenses in effect (i.e. commercial license for core Ext; other for UX), does this change at all in version 3.x (I noticed that this plug-in is included in core Ext distribution)?
4. If no direct GXT interface to plug-in, does this change in version 3.x?

zozzi

7 Jun 2010, 11:39 AM

problem with icons in filter menu

2030920310

how fix?
css loaded, images loaded, but on rendering have this problem

Hi dude,
I'm also looking for the same file JSonResponseReader.js .
In case if you have that file please do share it with me.
I need that code very badly.

Thanks

mikeasi

2 Jul 2010, 9:38 AM

How can I setup the grid filter to display in a column header of a field that doesn't necessarily match the dataindex value? It seems to match up to whatever the dataindex is set to, am I not seeing an option to apply it to a custom column that isn't matched to the dataindex value?

Dmoney

7 Jul 2010, 7:29 AM

The filtering works great for me however, when I filter for something and there are no matches the grid does not change it displays the same records that were there already. I expect it to clear the store and show nothing.

how do I clear the store if there are no matches?

Reimius

7 Jul 2010, 12:07 PM

Hello guys,

I've modified this code to work with treegrids for those who are interested, see:

I'm trying to use this plugin with my project.
However, I keep getting this error:

this.getFilterClass(config.type) is not a constructor

and I can't seem to decode where the problem is.

Below are my include files:

Anyone had the same problem before?

Hi scblue,
I met the same problem, did you solved it?
If so, can you tell me how to solve it?
Thank you.

kellyjohn.carney

20 Jul 2010, 2:54 PM

Grid Filter + Livegrid - 30 Jan 2008

Has anyone used Livegrid + the Grid Filter plugin? I'm trying this out and the grid and filters work as expected except when I apply a filter and then scroll the grid -- once the grid makes a request for new rows, it doesn't pass the filter to my server-side function so it ends up pulling new rows from an unfiltered dataset...

Any ideas on how to pass the filters through livegrid and back to the server?

thx

Matt

Hmm, it's been years since the question was asked, but I can offer this solution.

Can I add in a "string filter" type, the options "start with..." and "end with"? Default only appears a "contains" option.

If it's possible... How I can implement it?

Thanks to all !!

Skelv

29 Jul 2010, 2:06 AM

First of all, hi everyone! I've been using ExtJS for a couple of weeks and I really love it:)

But (there's always a "but"), I haven't been able to solve a problem just by reading the api documentation, so I beg for your help: I'm trying to initialize a DateFilter so that when the grid loads the data is already filtered, in a similar way as the "value" config option works for list filters. Is there any way to do this with date filters?

Thanks in advance for your help!

Reimius

29 Jul 2010, 10:36 AM

First of all, hi everyone! I've been using ExtJS for a couple of weeks and I really love it:)

But (there's always a "but"), I haven't been able to solve a problem just by reading the api documentation, so I beg for your help: I'm trying to initialize a DateFilter so that when the grid loads the data is already filtered, in a similar way as the "value" config option works for list filters. Is there any way to do this with date filters?

So, it was with a value option, too! The problem was I didn't put a JSON with the format "on/before/after: date", I just put "value: date" as the config option.

Thanks a lot :)

msinn

27 Oct 2010, 1:05 AM

Hi, I have a question: how can I style the filterd column, which css classes we need for that?

Another current thread to GridFilters ist this: http://www.sencha.com/forum/showthread.php?72024-GridFilter-Extension-for-3.x or this here: http://www.sencha.com/forum/showthread.php?72024-GridFilter-Extension-for-3.x

I've tried all hints from this thread, but without solving the problem
Maybre You know that, please help.

msinn

28 Oct 2010, 1:31 AM

CSS Style for the filtered column

The answer you find here: http://www.sencha.com/forum/showthread.php?113861-SOLVED-How-to-change-the-css-style-for-a-specific-grid-column&p=531277#post531277

israel.galan

10 Dec 2010, 2:25 AM

Hello,
I managed to get the list filter appearing with the right options. However, when I tick the boxes I get the 'Loading data' message, but the table is not filtered.
I tried to debug the code, but I could not figure out what is going on when I tick a box.

The question is, what is being filtered? is it the loaded store that gets filtered or is the store being reloaded? And if the store is reloaded, how do I pass the arguments so that my php script returns the filtered data?

msinn

10 Dec 2010, 2:33 AM

Hello,
I managed to get the list filter appearing with the right options. However, when I tick the boxes I get the 'Loading data' message, but the table is not filtered.
I tried to debug the code, but I could not figure out what is going on when I tick a box.

The question is, what is being filtered? is it the loaded store that gets filtered or is the store being reloaded? And if the store is reloaded, how do I pass the arguments so that my php script returns the filtered data?

http://www.sencha.com/forum/showthread.php?76185-GridFilters-enhanced-filtering-for-grids&p=543576#post543576
http://www.sencha.com/forum/showthread.php?76185-GridFilters-enhanced-filtering-for-grids&p=544919#post544919
I am not sure I understand how these two links apply to my question.
Anyway, I have observed that everytime I tick a box in the list, my store is reloaded with a POST request.
I can easily modify my PHP code to handle this, but my tables are usually very small and I find it is a waste of resources.
Is there any configuration option in the filter (or the Grid store) to force the filter to be applied locally?

msinn

10 Dec 2010, 2:51 AM

I am not sure I understand how these two links apply to my question.
Anyway, I have observed that everytime I tick a box in the list, my store is reloaded with a POST request.
I can easily modify my PHP code to handle this, but my tables are usually very small and I find it is a waste of resources.
Is there any configuration option in the filter (or the Grid store) to force the filter to be applied locally?

local: true

israel.galan

13 Dec 2010, 12:38 AM

local: true
Thanks, that worked like a breeze...

israel.galan

13 Dec 2010, 12:39 AM

Hello,
Two questions:
-How do I add items to a list filter options and then refresh the view to ensure the new items are included?
-How do I dynamically check/uncheck options in the list?
Thanks

israel.galan

19 Dec 2010, 10:40 PM

Hello,
Two questions:
-How do I add items to a list filter options and then refresh the view to ensure the new items are included?
-How do I dynamically check/uncheck options in the list?
Thanks

Hello, anyone has an answer to any of the above?

msinn

19 Dec 2010, 11:08 PM

Hello, anyone has an answer to any of the above?

The plugin doesn't support those features of the box, so you have to manually program them
- add a new column with the new list option, so the plugin will react on the reconfigure event of the grid
- take a look to the ListMenu of gridfilters

API for the gridfilters: http://dev.sencha.com/deploy/dev/examples/docs/?class=Ext.ux.grid.GridFilters

spiderweb

24 Dec 2010, 2:08 AM

Hello,

I've created data rate filter which is a slight modification of the number filter, which looks something like this:

23966

I have a problem with the units combobox, when I select a value from the list, the filter menu (I assume) loses focus and disappears (unit value is properly applied though). How do I prevent disappearing of the filter when I select a value from the combobox?

wm003

30 Dec 2010, 8:48 AM

How do I prevent disappearing of the filter when I select a value from the combobox?

I had something similiar with a combobox Menu Entry and i solved it this way:

Is there somewhere a documentation, because I need informations for list

msinn

4 Jan 2011, 2:49 AM

Hi,

Is there somewhere a documentation, because I need informations for list

Hi,

you'll find info in this (http://www.sencha.com/forum/showthread.php?14503-Grid-Filter-%28Plugin%29)thread and in this (http://www.sencha.com/forum/showthread.php?76185-GridFilters-enhanced-filtering-for-grids)one. Documentation is here (http://dev.sencha.com/deploy/dev/examples/docs/?class=Ext.ux.grid.GridFilters) and for more specific info concerning the list you could check also the Ext JS source code in examples/ux/gridfilters/GridFilters.js and in examples/ux/gridfilters/filter/ListFilter.js

EDFGRENOBLE

4 Jan 2011, 3:02 AM

Ok Thx

I would like to know I its possible for list Option, to have options like on form.combo : remote or local

msinn

4 Jan 2011, 3:12 AM

Ok Thx

I would like to know I its possible for list Option, to have options like on form.combo : remote or local

yes this is possible, take a look to this post (http://www.sencha.com/forum/showthread.php?76185-GridFilters-enhanced-filtering-for-grids&p=543576#post543576)

spiderweb

4 Jan 2011, 6:43 AM

At first I thought to implement something similar, but I knew that I've seen this work somewhere with the original code, Animal helped me a little in this post http://www.sencha.com/forum/showthread.php?119642-Loss-of-focus, you just need to set the listClass:'x-menu', I changed it earlier and forgot, now I just used listClass: 'x-menu some-other-css-class', and it worked.

Ebpo

7 Jan 2011, 7:42 AM

Hi!

I have a problem, not sure if this is where I'm supposed to post.
In the menu to filter numeric value (with gt, lt and eq), icons (=, >, <) are overlapping eachother and doubled.

Does anybody know what's the problem?
Thanks!

msinn

7 Jan 2011, 11:52 AM

Hi!

I have a problem, not sure if this is where I'm supposed to post.
In the menu to filter numeric value (with gt, lt and eq), icons (=, >, <) are overlapping eachother and doubled.

Does anybody know what's the problem?
Thanks!

Which Ext JS version? Did you include the css files from examples/ux/gridfilters/css/GridFilters.css and examples/ux/gridfilters/css/RangeMenu.css ? Did you set Ext.BLANK_IMAGE_URL = 'ext/resources/images/default/s.gif' ?

manilodisan

8 Jan 2011, 9:49 PM

It may be already answered but I stopped searching somewhere at page 50 of this thread.

I have a grid which opens inside a tabPanel. If I filter the grid, close the tab and reopen it, the grid loads with the filter set previous to closing that tab.

Checked the destroy function of grid filter and it fires when the tab is closed so how can I destroy the filter making it completely reset on tab closure. Is there another method to do a complete reset? Thank you in advance.

pamelablalock

13 Jan 2011, 3:44 PM

Early in this thread, these screenshots were posted in response to having the filter on the column header menu, vs something like the HeaderForm plugin. However I have not been able to successfully configure a cascading filter menu. I'd like to have a filter with checkboxes for common items and "Other" that would cascade out to a text filter, where the user could type something "uncommon". Seeing the screenshots of the cascading filter gave me hope - especially the one that says "Contains Text", since I suspect it does exactly what I need, but I can't find any examples. Any help is greatly appreciated.

Screenshots:
Screenshot 1
http://ccinct.com/lab/screenshots/tree.png

Screenshot 2
http://ccinct.com/lab/screenshots/category_menu.png

[/QUOTE]

softwareengineer

24 Jan 2011, 2:21 AM

By default the field is 'filter', with out the 's'. But that is configurable with the 'paramPrefix' confg option. For example:

plugins: new Ext.ux.grid.GridFilters({paramPrefix: 'omgBearIsDriving'});
Additionally, the filter param will be expressed as an array of objects for example:

filter[0][data][type]=string
filter[0][data][value]=Geek
filter[0][field]=name
filter[1][data][type]=list
filter[1][data][value]=medium,large,extra large
filter[1][field]=size
If you wish to change how the data is structured and sent to the server you can either extend GridFilters and overload the 'buildQuery' function or pass a new function as config option:

I would appreciate if you can help to get the grid filter selected check box values to server side.
I am getting all parameter from request.param but only filter param I am not able to get
Please let me know how do I get those param.filter values in java.

Thank you,

Reimius

24 Jan 2011, 6:28 AM

Hi softwareengineer,

This may help you for what you want, it is two custom functions I developed for saving a grid state to a database because some of the other ones I tried weren't working for IE6, maybe you can dig through and find what you need:

Hi friends,
I am using Grid-Filter plugin, But my requirement is, i should be able to do AND ing OR ing of search/filter results, But i dont think and i have tried it also ... that this plugin provides this facility to have AND ing /OR ing of results...

What i mean is,:-

e.g there is grid and i am searching over a column, and i want to search for two values...i.e OR /AND ing

e.g. My filter text input will be like "xyz OR abd".

So it should be give me results where xyz or abd is present in that column value,
Currently it will not give any results for this type of search ...yes i know filter is not a full search.

But still it can improve the functionality in case of large grid-data.

If anyone can please help me it would be very nice.
Thank you.

norbe

2 Mar 2011, 7:15 AM

Hi,

is there any way to display filters under column names? Like in this example (http://addons.nette.org/cs/datagrid#toc-ukazka)

Shobhit Rastogi

28 Mar 2011, 6:36 AM

Hi,

There are three options for the filter in my grid in the column of "Completion date". The three options are "After", "Before", "On". Whenever I apply filter in the grid on this column then filter is working fine. but when I need to change the filter i.e if I change the After filter to the Before filter then first it hide the small window of (After, Before, On) and then I have to again apply filter for Before. I need that when I change the filter, the small window should stay till I click outside the small window/calendar. Means I have to add the mouse over code in the filter of date type column.

Reimius

28 Mar 2011, 8:19 AM

Shobhit Rastogi,

This is an easy fix for you, but may not be the desired functionality for others, here's how to do what you want by adding this line of code which will stop the datefilter date picker from closing when clicked:

hideOnClick: false
to the init function in the javascript file DateFilter.js in the examples/ux/gridfilters/filter

The updated init function should look like (maybe not exactly if I have an old version of grid filters):

im am new to Ext. and in my first Grid i try to use this Grid Filter Plugin.

I have spend now days for finding out how to change/redefine/reconfig the config.

The reason why im trying to do this is that my ColumnModel is changing by selecting an Entry in a
ComboBox. That means ColumnModel and Store are dynamic. And after/before (tryed both)
doing a reconfig on the Grid, i try to (re)set the Filter new .. adapted to the new column model..

The Effect is that the new Columns are all equiped with the Filter Option but as sson as i try to
enter a Value in on of the Filters ..

I get an error called .. "this.grid is Null or not an Object"

What is wrong with my Coding ? Can someone help ? I would really appreciate it ..

Many thanks in advance for your Help Guys !! You all here are GREAT and EXT is a damn Good lib !!

Regards,

a.ti

tdikarim

12 Apr 2011, 12:50 AM

Hi friends,
I am using Grid-Filter plugin, But my requirement is, i should be able to do AND ing OR ing of search/filter results, But i dont think and i have tried it also ... that this plugin provides this facility to have AND ing /OR ing of results...

What i mean is,:-

e.g there is grid and i am searching over a column, and i want to search for two values...i.e OR /AND ing

e.g. My filter text input will be like "xyz OR abd".

So it should be give me results where xyz or abd is present in that column value,
Currently it will not give any results for this type of search ...yes i know filter is not a full search.

But still it can improve the functionality in case of large grid-data.

If anyone can please help me it would be very nice.
Thank you.

Hi,
Do you have a way for do that. I am also interesting by this requirement ...

This plugin is so great
Thanks a lot

tdikarim

12 Apr 2011, 4:10 AM

Hi All,

Ext 3.3.1
After I reconfigure the grid the filter as been cleared. How can I preserve them or save it for re-apply it after reconfigure.

Thanks for your help

hachie

15 Apr 2011, 2:02 AM

I have a Grid with GridFilter in a modal window and when I show for the first times the grid it's work all fine.
If I close the window and after I reopen it the GridFilter in the grid doesn't appears. Why?

a.ti

18 Apr 2011, 7:02 AM

Hey Guys,

does really no one knows how to handle a reconfig with changing the Filter Plugin configs.

I have tried several Options without success .. only wasting time with it :-(..

Can Someone help please ?

regards

A.ti

budaxlingga

1 May 2011, 8:00 AM

Hai all, i'm a newbie in programming. i just try some code from example given in internet.
I try to use grid filter plugin in my project, it worked until i type something to filter field, then nothing happen. i check the "filter" in firebug, and it contain nothing (filter:""). what happen?

In firebug when you select the icon shows the following code, which is strange I do not put the url to the image name. Screenshot attached.

http://desarrollopaginasweb.com.ve/archivos/firebug.JPG

jago7372

4 Jul 2011, 1:32 PM

Hi,
please someone help me with filter icons appear over each other I am concerned ExtJS 3.1.1 thank....

26871

jankshtt

28 Jul 2011, 8:49 AM

Hi,

I am filter on a grid and I am trying to run the filter on it. I want o run the filter from code when a user selects a value from a drop down else where in the page.

I see that grid.getFilter('dataIndex').setActive(true) is setting the filter active but i am not sure how to set the value. There is a methid called setValue() but it is a private methos. Is there any way i could do it.

Thanks,
Jankshtt

SunWuKung

10 Oct 2011, 1:21 AM

I am saving and restoring a grid's state that includes a GridFilter.
All works fine until a DateFilter is set in which case I get a value.clearTime is not a function error in DateFilter.js line 216 - this.fields[key].menu.picker.setValue(value[key]);

I guess it's because the value is not a Date object and I can see that here (http://www.sencha.com/forum/showthread.php?14503-Grid-Filter-(Plugin)&p=85517&viewfull=1#post85517) it was suggested to use Date.parseDate - but since in my case the value is created by saving the same DateFilter's state I don't think this is an option here.

How could I get this work?
For the time being I am doing this in DateFilter.js and it seems to work, but any comment is welcome:

I am saving and restoring a grid's state that includes a GridFilter.
All works fine until a DateFilter is set in which case I get a value.clearTime is not a function error in DateFilter.js line 216 - this.fields[key].menu.picker.setValue(value[key]);

I guess it's because the value is not a Date object and I can see that here (http://www.sencha.com/forum/showthread.php?14503-Grid-Filter-(Plugin)&p=85517&viewfull=1#post85517) it was suggested to use Date.parseDate - but since in my case the value is created by saving the same DateFilter's state I don't think this is an option here.

How could I get this work?
For the time being I am doing this in DateFilter.js and it seems to work, but any comment is welcome:

Thank you for the code. It works like a charm.

donremigio

15 Nov 2011, 10:11 AM

Hi
How I can hide from numeric filter equal field. I can delete from RangeMenu.js fields.eq, but I need to hide it only from search filter from one column in grid.

ecko

28 Nov 2011, 4:19 PM

Yeah, I asked the Ext team about support for scrolling menus and they said not in this version >.<

while i agree that too many menu items would be cumbersome, on screens with even moderately low resolution (1280 x), the column menu would extend past the bottom of the screen and be inaccessible with fewer columns than that. I would like to extend this to include a scrolling option. Where can i find the latest source?
(see attached for example)
29641