Hero, Here is an mailing list thread about adding a pop-up context menu to a TableViewHeader, which is a common way to hide/show columns. http://apache-pivot-users.399431.n3.nabble.com/TableHeader-tp2200716p2201051.html
This describes how to hide a Column. http://apache-pivot-users.399431.n3.nabble.com/hide-the-column-in-tableView-tp1014644p1014644.html If I have time over the next couple of days, I will try to post a small example application with both types filters. Chris On 24 February 2011 08:24, <[email protected]> wrote: > > Hi Chris > > Just giving me some advise about one of them is wonderful if convenience. > (although actually both of them is necessary) > > Thanks for your answer. > Hero. > > > *Chris Bartlett <[email protected]>* > > 02/23/2011 07:12 PM > Please respond to > [email protected] > > To > [email protected] > cc > Subject > Re: How to embed a filter such as a list in TableView column's header? > > > > > Hero, > > Can you please describe the kind of filter that you want? > > 1. Ability to hide/show TableView columns? > (Like the table here - Control + Click to see the pop up menu) > *http://www.dynamictable.com/* <http://www.dynamictable.com/> > 2. Ability to type some text, choose data from a ListButton (or other > component) and then filter use that to filter the data that the TableView > displays? > (Something like the HTML tables here * > http://www.javascriptkit.com/script/script2/tablefilter.shtml*<http://www.javascriptkit.com/script/script2/tablefilter.shtml> > ) > 3. Something else? > > Chris > > On 23 February 2011 16:26, > <*[email protected]*<[email protected]>> > wrote: > > Hi > > I'd like to add a filter feature to the tableview's columnheader.But i > can't figure out how to do it. > Is there any similar sample in Pivot web site or could anyone give me some > advise? > > Thanks for reading my post. > Hero > >
