PDA

View Full Version : Treegrid GridFilters (in column headers like GridFilters example)



Reimius
7 Jul 2010, 7:40 AM
Hi guys,

I'm using the treegrid in depth with my new project at work and have developed a new treegrid filter plugin that is based on the same plugin for normal grids. It's basically the same exact thing with some changes for trees and special logic to filter the data based on the leafs of the tree. Hope this is a useful component to people who use the treegrid extension,

Current Drawbacks:
Does not do remote filtering (but I'm going to make it in the future, unless someone wants to develop it here)
I have not tested event firing fully, if there is some needed.

I have included all files that are needed to use this treegrid plugin. For documentation please refer to GridFilters, as this is a mirror of the functionality.

Instructions to try out this file (it includes an example as well as all necessary files for use):
1. Put Extjs 3.2.1 Distribution on your local machine (as if you were going to use examples and such)
2. Unzip the file attached to this post
3. Replace ext-3.2.1\examples\treegrid folder with the unzipped folder
4. Try it out

I have only tested this on Firefox and IE6.

Thanks,

Hope this is helpful to others.

Edit July 7, 2010 12:07 PM -- Headers are now Italicized when filter is on.

sarabanu
12 May 2011, 4:01 AM
explored more than 2 days to identify the feature......you have given a wonderful easy implementable solution.......


Thanks....

belyjos
7 Jun 2012, 4:37 AM
Very powerfull thank's

andha
1 Oct 2012, 11:01 PM
Hi Reimius,

how do i implement this on extJs 4.1.2, since there is no TreeFilter Method in extJs 4.1.2 ?