-
17 Aug 2009 1:05 AM #11
Hi drieraf!
Thanks a lot! Working like a charm!
Best regards,
Bernd
-
17 Aug 2009 6:05 PM #12
Looking great - especially the docs!
Q1: The config arg to the constructor seems very optional now if you want to use the column model to define your filters - sadly the constructor requires it even if it's empty...
Q2: It seems the columnModel usage of filters is limited to reconfigure? If I never reconfigure the grid, how can I get filters to come through the columnModel? Must be missing something.
As a test, I edited the init method like so:
This works, but is just a guess.Code:this.grid.filters = this; this.addFilters(grid.getColumnModel()); // added this.updateColumnHeadings(); // added
-
17 Aug 2009 8:04 PM #13
Those are bugs. I'll copy your post to the bugs forum.
http://extjs.com/forum/showthread.php?t=77892MJ
API Search || Ext 3: docs-demo-upgrade guide || User Extension Repository
Frequently Asked Questions: FAQs
Tutorial: Grid (php/mysql/json) , Application Design and Structure || Extensions: MetaGrid, MessageWindow
-
25 Aug 2009 11:19 AM #14
-
26 Aug 2009 9:42 AM #15
-
26 Aug 2009 9:48 AM #16
Why not publish the link at once?
if it continues, with a few plugins I start using extjs 2.x
-
27 Aug 2009 1:58 PM #17
Any estimate on when this Grid Filter extension will be available? I really need grid filtering but may have to go back to version 2.2 if not available by the end of next week.
-
27 Aug 2009 2:02 PM #18
Ah, never mind I see it won't be available until 3.1, mid-November :-(
-
28 Aug 2009 6:03 AM #19
Getting the Grid Filter Plug-in for Ext 3
Getting the Grid Filter Plug-in for Ext 3
I grabbed it from the Ext 3 Demo:
http://extjs.com/deploy/dev/examples...ter-local.html
However, I found that sorting and filtering grids with a horizontal scroll bar was a) not preserving the horizontal scroll pos and b) was not displaying the column headings correctly until after the grid was scrolled or resized.
I don't know if this is by design, a bug or an incompatibility issue with the grid filter plug-in. So I put the following together until I can investigate further. It preserves the horizontal scroll pos onload (solves both my problems). I haven't found any problems with it yet...
Use an instance of this as the grid view in your grid...PHP Code:Ext.ux.GridViewPreserveHScroll = Ext.extend(Ext.grid.GridView, {
onLoad: function() {
//overridden to preserve the horizontal scroll position
this.scroller.dom.scrollTop = 0;
}
});
Tested in the browsers I have: IE6, IE8, FF3.5, Chrome 2, Safari 4 (Windows)PHP Code:clicksToEdit: 1,
view: new Ext.ux.GridViewPreserveHScroll(),
loadMask: true,
...
Doesn't work in Opera 9.64 for some reason - the headings display is not corrupted, but the horizontal scroll pos is not preserved.
-
28 Aug 2009 7:25 PM #20
GridFilter as input box in column header
GridFilter as input box in column header
How would I go about customizing this filter to work as an input box in my column header instead of as part of the column header menu? The idea is that I would like to display the filters as part of the grid.


Reply With Quote