Actually, the filter works on all nodes, and if the parent (or any
ancestors) are filtered out, none of the descendants will show up
either.  As for the case sensitivity... well, it's an example.  Your
implementation of the filter function can be better :)



On Apr 2, 4:34 pm, Ravish Bhagdev <ravish.bhag...@gmail.com> wrote:
> Looks good michael!  Couple of minor observations:
>
> - Filter only works on root nodes,
> - Is case sensitive (simple toLower on both vars used in indexof should fix
> it, so no biggie)
>
> I really like the % graph and slider thingy :-)
>
> Cheers,
> R
>
>
>
> On Thu, Apr 2, 2009 at 11:38 PM, Tin <michael.leib...@gmail.com> wrote:
>
> > Ravish,
> > I've added a collapse/expand example to SlickGrid.  Check it out at
> >http://slickgrid.googlecode.com/svn/trunk/example5-collapsing.html
>
> > On Apr 2, 2:31 pm, Jack Killpatrick <j...@ihwy.com> wrote:
> > > Right, I was thinking maybe treetable combined with the quicksearch
> > > plugin... ie: the quicksearch plugin would search the treetable, but the
> > > side-effect is that it will show found rows, not correctly expand the
> > > tree. (so not good).
>
> > > So yeah, the search continues. I haven't seen a jquery plugin like that
> > > ext searchable tree. Maybe ask on the jquery-ui list: there's some tree
> > > work going on there.
>
> > > - Jack
>
> > > Ravish Bhagdev wrote:
> > > > Yes, it is collapsible but it dosen't have the "filter" or search
> > > > capability like the filtertree (
> >http://www.extjs.com/explorer/#filtertree)
>
> > > > So not quite as useful.
>
> > > > Ravish
>
> > > > On Thu, Apr 2, 2009 at 9:49 PM, Jack Killpatrick <j...@ihwy.com
> > > > <mailto:j...@ihwy.com>> wrote:
>
> > > >     The treetable plugin (below) is collapsible. You may hit a snag
> > > >     trying to find something that will open up the "found" node,
> > > >     though. I'm pretty sure that the quicksearch plugin will just pay
> > > >     attention to table elements, regardless of their visibility, but
> > > >     it would not open the parent(s) up the tree.
>
> > > >     I'm curious if you find something.
>
> > > >     - Jack
>
> > > >     Ravish Bhagdev wrote:
> > > >>     Thanks Jack,
>
> > > >>     But I'm looking for a tree that is collapsible.  I'm reading
> > > >>     jquery documentation to see how difficult it will be to implement
> > > >>     something that keeps index of all nodes in when searching hides
> > > >>     matching id of node by getting hold of the element.  Sounds a bit
> > > >>     tricky though :(
>
> > > >>     Ravish
>
> > > >>     On Thu, Apr 2, 2009 at 4:56 PM, Jack Killpatrick <j...@ihwy.com
> > > >>     <mailto:j...@ihwy.com>> wrote:
>
> > > >>         If the tree is just a list internally, you might be able to
> > > >>         use this:
>
> > > >>        http://rikrikrik.com/jquery/quicksearch/
>
> > > >>         or maybe use that with this:
>
> > > >>        http://blog.cubicphuse.nl/2008/11/12/jquery-treetable-2-0
>
> > > >>         - Jack
>
> > > >>         Ravish wrote:
> > > >>         > Hi,
>
> > > >>         > I've been looking for a tree widget which can be filtered
> > > >>         or searched
> > > >>         > by typing keyword in a textbox.  When trees have thousands
> > > >>         of nodes,
> > > >>         > its very difficult for users to browse manually.  Has
> > > >>         anyone ever seen
> > > >>         > such a widget (jquery based ideally but other will do as
> > > >>         well).  I am
> > > >>         > surprised to find that none of the available plugins
> > > >>         support this
> > > >>         > feature!
>
> > > >>         > Thanks

Reply via email to