Apply Style to the last Line (last row) of a table

Stimulsoft Reports.NET discussion
Post Reply
Lug16
Posts: 9
Joined: Mon Nov 15, 2010 8:03 am

Apply Style to the last Line (last row) of a table

Post by Lug16 »

Hi everyone...

I know that in order to apply a style to a specific row I can do a expression like this: "Line == 1"... but what if I want a style for the last row (and I do not know the number of rows for that table)? something like Line == table.rows.count - 1... :dreamer:

Thanks in advice... :byebye:
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Apply Style to the last Line (last row) of a table

Post by Alex K. »

Hello,

You can use the following expression in condition:

Code: Select all

Line == DataSource.Count
Thank you.
Post Reply