Bug 110255 - Would like to have visibility attribute for a table rows and columns.
Summary: Would like to have visibility attribute for a table rows and columns.
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 1.0.1   Edit
Hardware: PC Windows XP
: P1 enhancement (vote)
Target Milestone: 2.2.0 M4   Edit
Assignee: Chen Chao CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 118653 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-21 17:20 EDT by marko CLA
Modified: 2006-12-07 01:36 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marko CLA 2005-09-21 17:20:07 EDT
For some scenarios i would like to set the visibility (hide/show) for table 
columns or rows.

Note, for a column to hide I don't simply want the content of the column 
hidden.  I do not want the column to be rendered at all. ie. if the column is 
hidden, then there should be one less "td" block per row of the table.
Comment 1 Wenbin He CLA 2005-10-18 18:13:52 EDT
This limitation is caused by browser.  Will revisit this feature in future 
version.
Comment 2 marko CLA 2005-10-19 09:28:07 EDT
There are several alternatives to requiring a hide/show attribute on a html 
table column.

You can either not render the column at all, so that hide/show column is only 
available during building of the table.

Or you can use DHTML to modify the table after it has been rendered.

Not rendering the column at all seems to be solution that could be supported by 
any type of renderer (including pdf).
Comment 3 Wenfeng Li CLA 2006-02-03 16:59:38 EST
schedule to evaluate. 
Comment 4 Krishna Venkatraman CLA 2006-02-28 14:15:15 EST
*** Bug 118653 has been marked as a duplicate of this bug. ***
Comment 5 Mica J. Block CLA 2006-03-09 01:53:37 EST
This is a very important feature in order to do things like conditional sections.In eRD this would be similar to the conditional section. In Crystal this would be similar to the section expert.
Comment 6 Wenbin He CLA 2006-04-06 15:23:34 EDT
As we discussed and agreed, BIRT 2.1 will support column visiblity. Reassign this to model to make the visibility property avalibale for table column.
Comment 7 Rick Lu CLA 2006-04-07 05:24:00 EDT
Added visibility for Column in ROM and made related changes. Model change has been done. Didn't know whether changes in other teams requires. Reassign.
Comment 8 Wenbin He CLA 2006-04-07 14:29:27 EDT
Please add the visibility page or table column. We could do this in RC1.
Comment 9 Mica J. Block CLA 2006-04-10 23:44:40 EDT
I see that we are adding visibilty to the column. Are we doing the same for the row?
Comment 10 Wenfeng Li CLA 2006-04-13 20:31:05 EDT
Is the "row visibility" enhancement to support conditional formatting not only change color/font of the row but also hide/show the row?
Comment 11 Mica J. Block CLA 2006-04-14 10:07:55 EDT
(In reply to comment #10)
> Is the "row visibility" enhancement to support conditional formatting not only
> change color/font of the row but also hide/show the row?

Row visibility would be similar to a condintion section in Actuate or the Section expert in Crystal. Very important ot have since many reports require such a feature.
Comment 12 Wenfeng Li CLA 2006-04-17 21:46:51 EDT
Synch up with Callisto schedule to rename RC1 as RC2 targeted 5/5/2006.
Comment 13 Frank Zhang CLA 2006-04-20 06:28:08 EDT
I've added visibility page for rows and columns.
Comment 14 Wenfeng Li CLA 2006-04-24 23:25:31 EDT
This bug was about setting visibility on rows and columns manually. 

BIRT 2.0 also supports highlighting on rows. Highlighting feature allows report designer to attach a boolean expression on a row and if runtime calculation of the expression is true, a row will be highlighted. but highlighting operation can only change display properties such as font and background color, it does not allow setting a row's visibility, and it does not allow the target of highlight rules to be a column.
   
Further enhancements are
1. allow highlight rules to set the visibility of a row. It will require model , UI change, and engine change.  I will schedule it for future release since it requires change API change that we can not make in RC phase of 2.1.

2. allow highlight rules applied to a column as well. Model and UI alreay support this one, need Engine change.  There is another bug entry for this enhancement tentatively scheduled for RC4.
Comment 15 Wang Qiangsheng CLA 2006-12-07 01:35:58 EST
Fixed
Comment 16 Wang Qiangsheng CLA 2006-12-07 01:36:36 EST
Fixed