count group items [message #511077] |
Fri, 29 January 2010 12:58  |
Eclipse User |
|
|
|
Hi,
I need to count group items of a table. I want to add a border below
every row, but NOT under the last row of a group.
e.g. ("---" is the border):
GROUP 1
item 1
---
item 2
GROUP 2
item 1
---
item 2
----
item 3
Is this possible through highlighting rules? It is not possible to check
if the next row will change the grouping-expression (1 to 2 e.g.), is it?
Klaus
|
|
|
|
|
|
|
Re: count group items [message #511790 is a reply to message #511772] |
Tue, 02 February 2010 16:27  |
Eclipse User |
|
|
|
Can you post the modified report?
Klaus Meisl wrote:
> Jason,
>
> yes, i did.
>
> Klaus
>
> Am 02.02.10 19:22, schrieb Jason Weathersby:
>> Klaus,
>>
>> Did you add the Aggregation_1 column to the data binding?
>>
>> Jason
>>
>> Klaus Meisl wrote:
>>> Jason,
>>>
>>> thanks for your help. I tried using
>>>
>>> if( grpcnt == row["Aggregation_1"] )
>>>
>>> in JavaScript for highlighting a row. It does not work. Does this relate
>>> to the bug?
>>>
>>>
>>> Am 01.02.10 21:13, schrieb Jason Weathersby:
>>>> You will need to set the border on the cells, because there is a bug
>>>> related to setting borders on the row. In the oncreate for each cell
>>>> you could enter the following script:
>>>>
>>>> if( grpcnt != grpttl ){
>>>> //this.getStyle().backgroundColor = "red";
>>>> this.getStyle().borderBottomColor = "blue";
>>>> this.getStyle().borderBottomStyle = "solid";
>>>> this.getStyle().borderBottomWidth = "3pt";
>>>> }
>
|
|
|
Powered by
FUDForum. Page generated in 0.06513 seconds