Home » Archived » BIRT » Missing pre-defined styles for grid-row, grid-cell, table-row, table-cell(Missing pre-defined styles for grid-row, grid-cell, table-row, table-cell)
Missing pre-defined styles for grid-row, grid-cell, table-row, table-cell [message #884789] |
Mon, 11 June 2012 20:42 |
ivkina Mising name Messages: 44 Registered: April 2012 |
Member |
|
|
Not having pre-defined styles for grid-row and grid-cell does not allow you to
code common behavior for grids, e.g, specify paddings, margins, colors, etc...
There are pre-defined styles for table object...however, you have to use
table-group-header1, table-group-header2... table-group-headerN/
table-group-footer2. Would be much better if there was an option to specify
predefined style just for table/grid rows and cells regardless of where this
row or cell is placed on. Not that I am saying let's remove
table-group-header1...etc styles.
To summarize it: ideally, we would like to have the following pre-defined
styles:
• table
• table-row
• table-row-cell
• grid
• grid-row
• grid-row-cell
Having the above styles will allow you to implement "library" behavior for
tables and grids w/o actually having table or grid being placed into the
library (as BIRT while allows to put table/grid into a library does not allow
to change its structure - thus having "frozen" structure table/grid in a
library is kind of totally pointless:)
|
|
|
Re: Missing pre-defined styles for grid-row, grid-cell, table-row, table-cell [message #884837 is a reply to message #884789] |
Mon, 11 June 2012 23:25 |
|
Good points. Can you log an enhancement for this in bugzilla?
BTW as work around you could add a bit of script in the before factory
that applies an existing lib style to all the mentioned components. You
could put this script in a template and use that as your starter report.
Jason
On 6/11/2012 4:42 PM, ivkina Mising name wrote:
> Not having pre-defined styles for grid-row and grid-cell does not allow
> you to
> code common behavior for grids, e.g, specify paddings, margins, colors,
> etc...
>
>
> There are pre-defined styles for table object...however, you have to use
> table-group-header1, table-group-header2... table-group-headerN/
> table-group-footer2. Would be much better if there was an option to specify
> predefined style just for table/grid rows and cells regardless of where
> this
> row or cell is placed on. Not that I am saying let's remove
> table-group-header1...etc styles.
>
> To summarize it: ideally, we would like to have the following pre-defined
> styles:
> • table
> • table-row
> • table-row-cell
> • grid
> • grid-row
> • grid-row-cell
>
> Having the above styles will allow you to implement "library" behavior for
> tables and grids w/o actually having table or grid being placed into the
> library (as BIRT while allows to put table/grid into a library does not
> allow
> to change its structure - thus having "frozen" structure table/grid in a
> library is kind of totally pointless:)
|
|
| |
Goto Forum:
Current Time: Fri Apr 26 05:45:35 GMT 2024
Powered by FUDForum. Page generated in 0.03221 seconds
|