Skip to main content



      Home
Home » Archived » BIRT » HELP: filtering the columns of a table
HELP: filtering the columns of a table [message #185664] Thu, 17 August 2006 14:22 Go to next message
Eclipse UserFriend
Hi. I have a table with a maximum number of columns. The user should be
able to select within the application what columns to display (the maximum
number of column is static). I would like to filter the columns of the
table with respect to the selection of the user. How can I do that? The
only filtering within a table (that I know) is for the rows, but not for
the columns. The problem is that if I hide with styles the columns, the
border associated to them is still displayed. Can anyone please help me?

Thanks.
Please HELP: filtering the columns of a table [message #185897 is a reply to message #185664] Fri, 18 August 2006 09:13 Go to previous messageGo to next message
Eclipse UserFriend
hi, does anybody know about it, how can it be solved? Thank you.
Re: Please HELP: filtering the columns of a table [message #186018 is a reply to message #185897] Fri, 18 August 2006 12:52 Go to previous messageGo to next message
Eclipse UserFriend
When you design the table put in your borders.
Use the visibility property on the column to hide the desired columns.
In the onPrepare method of the columns that have borders that are hidden
put:
this.getStyle().borderTopStyle = "none"

this.getStyle().borderBottomStyle = "none"

this.getStyle().borderLeftStyle = "none"

this.getStyle().borderRightStyle = "none"



This should be in an if statement because that is based on the visibility
expression.

Jason

"Cristian" <ceol.gael@gmail.com> wrote in message
news:e77e0d98c9bfaf81165b820d3a33d352$1@www.eclipse.org...
> hi, does anybody know about it, how can it be solved? Thank you.
>
Re: Thank you: filtering the columns of a table [message #186057 is a reply to message #186018] Fri, 18 August 2006 16:42 Go to previous message
Eclipse UserFriend
thank you
Previous Topic:Is it possible to access templates in Java code??
Next Topic:using ONE parameter MANY TIMES in the SQL query
Goto Forum:
  


Current Time: Sun Jun 08 16:37:45 EDT 2025

Powered by FUDForum. Page generated in 0.03820 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top