You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by He...@sz.murata.com.cn on 2011/02/23 10:26:18 UTC

How to embed a filter such as a list in TableView column's header?

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

Re: How to embed a filter such as a list in TableView column's header?

Posted by He...@sz.murata.com.cn.
Hi Chris

Many thanks to your kindly answer.
I'll do some exercise following the linked source.

Best regards
Hero




Chris Bartlett <cb...@gmail.com> 
02/24/2011 02:34 PM
Please respond to
user@pivot.apache.org


To
user@pivot.apache.org
cc
HeroLi@sz.murata.com.cn
Subject
Re: How to embed a filter such as a list in TableView column's header?






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, <He...@sz.murata.com.cn> 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 <cb...@gmail.com> 
02/23/2011 07:12 PM 

Please respond to
user@pivot.apache.org


To
user@pivot.apache.org 
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/ 
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) 
3. Something else? 

Chris 

On 23 February 2011 16:26, <He...@sz.murata.com.cn> 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 



Re: How to embed a filter such as a list in TableView column's header?

Posted by Chris Bartlett <cb...@gmail.com>.
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, <He...@sz.murata.com.cn> 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 <cb...@gmail.com>*
>
> 02/23/2011 07:12 PM
> Please respond to
> user@pivot.apache.org
>
>   To
> user@pivot.apache.org
> 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, <*H...@sz.murata.com.cn>>
> 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
>
>

Re: How to embed a filter such as a list in TableView column's header?

Posted by He...@sz.murata.com.cn.
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 <cb...@gmail.com> 
02/23/2011 07:12 PM
Please respond to
user@pivot.apache.org


To
user@pivot.apache.org
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/
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)
3. Something else?

Chris

On 23 February 2011 16:26, <He...@sz.murata.com.cn> 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


Re: How to embed a filter such as a list in TableView column's header?

Posted by Chris Bartlett <cb...@gmail.com>.
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/
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)
3. Something else?

Chris

On 23 February 2011 16:26, <He...@sz.murata.com.cn> 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