You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by Sandro Martini <sa...@gmail.com> on 2010/08/18 00:45:47 UTC
Change Visibility of Table Columns at Runtime
Hi to all,
for a prototype I'm starting to develop, i need to be able to change
at runtime the columns (and the related header) of a Table.
Usually use cases for this type of function are:
- all columns by default visible (or at least defined, for example in
bxml files), but depending on user rights some of them could be
hidden, depending on user privileges
- a pre-defined set of columns has been enabled (but not all), and in
some cases the user will have the ability to add others (already
defined) to the visualization
Is this already doable with Pivot 1.5.x or 2.x ?
Thanks a lot,
Sandro
Re: Change Visibility of Table Columns at Runtime
Posted by Sandro Martini <sa...@gmail.com>.
Hi Greg,
I'll try it surely, thanks for the moment.
Sandro
Re: Change Visibility of Table Columns at Runtime
Posted by Greg Brown <gk...@mac.com>.
Yes, this is doable in both 1.5.x and 2.0, though TableView.Column does not currently support a "visible" property. You'll need to add/remove the columns from the table view's column sequence.
On Aug 17, 2010, at 6:45 PM, Sandro Martini wrote:
> Hi to all,
> for a prototype I'm starting to develop, i need to be able to change
> at runtime the columns (and the related header) of a Table.
> Usually use cases for this type of function are:
> - all columns by default visible (or at least defined, for example in
> bxml files), but depending on user rights some of them could be
> hidden, depending on user privileges
> - a pre-defined set of columns has been enabled (but not all), and in
> some cases the user will have the ability to add others (already
> defined) to the visualization
>
> Is this already doable with Pivot 1.5.x or 2.x ?
>
> Thanks a lot,
> Sandro
Re: Change Visibility of Table Columns at Runtime
Posted by Greg Brown <gk...@mac.com>.
Yes, this is doable in both 1.5.x and 2.0, though TableView.Column does not currently support a "visible" property. You'll need to add/remove the columns from the table view's column sequence.
On Aug 17, 2010, at 6:45 PM, Sandro Martini wrote:
> Hi to all,
> for a prototype I'm starting to develop, i need to be able to change
> at runtime the columns (and the related header) of a Table.
> Usually use cases for this type of function are:
> - all columns by default visible (or at least defined, for example in
> bxml files), but depending on user rights some of them could be
> hidden, depending on user privileges
> - a pre-defined set of columns has been enabled (but not all), and in
> some cases the user will have the ability to add others (already
> defined) to the visualization
>
> Is this already doable with Pivot 1.5.x or 2.x ?
>
> Thanks a lot,
> Sandro