Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » table row highlight
table row highlight [message #508879] Wed, 20 January 2010 15:46 Go to next message
Klaus Meisl is currently offline Klaus MeislFriend
Messages: 90
Registered: July 2009
Member
Hi,
i want to set the style "TableBorderBottom" if a row has
row["SubitemYN"] = 0 AND if it's the last row. The first is no problem,
for the last i think i have to add a computed column to get the count of
the rows. But how can i combine both conditions in my highligthing rules?
klaus
Re: table row highlight [message #508924 is a reply to message #508879] Wed, 20 January 2010 17:39 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Klaus,

Put the condition in as a fx
for example
if(( row["QUANTITYORDERED"] == 46 ) && (row.__rownum == Total.count()-1 )){
1;
}else{
0;
}

then Equal to
then 1

Jason

Klaus Meisl wrote:
> Hi,
> i want to set the style "TableBorderBottom" if a row has
> row["SubitemYN"] = 0 AND if it's the last row. The first is no problem,
> for the last i think i have to add a computed column to get the count of
> the rows. But how can i combine both conditions in my highligthing rules?
> klaus
Re: table row highlight [message #508966 is a reply to message #508924] Wed, 20 January 2010 17:12 Go to previous message
Klaus Meisl is currently offline Klaus MeislFriend
Messages: 90
Registered: July 2009
Member
Jason,

didn't event think about this. Also got to know of Total.count()...
Works like a charm, thanks for this and your great help in all other cases!

Klaus


Am 20.01.10 18:39, schrieb Jason Weathersby:
> Klaus,
>
> Put the condition in as a fx
> for example
> if(( row["QUANTITYORDERED"] == 46 ) && (row.__rownum == Total.count()-1 )){
> 1;
> }else{
> 0;
> }
>
> then Equal to
> then 1
>
> Jason
>
> Klaus Meisl wrote:
>> Hi,
>> i want to set the style "TableBorderBottom" if a row has
>> row["SubitemYN"] = 0 AND if it's the last row. The first is no problem,
>> for the last i think i have to add a computed column to get the count of
>> the rows. But how can i combine both conditions in my highligthing rules?
>> klaus
Previous Topic:Report problem with SqlServer 2008, BIRT 2.5.1
Next Topic:Birt Report Viewing from RCP
Goto Forum:
  


Current Time: Thu Apr 25 17:39:27 GMT 2024

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

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

Back to the top