PDA

View Full Version : extjs 3.2 grid filtering



aparna1976
1 Apr 2011, 7:56 AM
I am trying to build grid filtering as show in below link:
http://www.sk-typo3.de/ExtJS-Filter-Grid.345.0.html

but it is giving error at the line:
var gridHead = grid.getView().getHeaderPanel();
"Document does not support this property method"

please help me

mankz
3 Apr 2011, 10:43 AM
That's using Ext 1.1 so good luck with that :). Try searching the forums to see if a similar thing exists for Ext 3.

steffenk
3 Apr 2011, 1:19 PM
funny, you grabbed one of my first scripts. Long time ago, but it should be possible to convert it to Ext3.

There are a lot of old methods in like getHeaderPanel(), that doesn't exist any more. The script could be done much easier now, using a layout with 2 panels.

s1nf3rn0
4 Apr 2011, 1:22 PM
If you still want to use that example, call grid.getTopToolbar(); instead of grid.getView().getHeaderPanel();

satya1974
6 Apr 2011, 7:07 PM
i tried with grid.getTopToolBar() it is saying object does not support this property.

mankz
6 Apr 2011, 10:07 PM
Almost there:



grid.getTopToolbar()

satya1974
7 Apr 2011, 8:47 AM
grid.getTopToolbar() same error object does not support this property or method. did anybody seen same kind of filtering with extjs 3.2 any where like in this url http://www.sk-typo3.de/ExtJS-Filter-Grid.345.0.html. please let me know.