Problem:"tag" variable is null in a crosstab appearance condition (for highlighting row)

Stimulsoft Reports.NET discussion
Post Reply
rbermudez
Posts: 5
Joined: Tue Jan 03, 2012 5:33 am
Location: A Coruña

Problem:"tag" variable is null in a crosstab appearance condition (for highlighting row)

Post by rbermudez »

I have a crosstab in a databand. I want highlighting all the row. Then I use 2 diferent conditions. One for the first element ( the title row) and other for the calculate elements.

In the first row appearance expression condition I have:
((string)e.Value) == "Promedio"
and it's works fine to me, this highlighting the title row.

But in the calculated rows appearance expression condition I have (reading the tutorial):
tag == "Promedio"
but the row data is not highlighting when row title is "Promedio"

Image



I change this for "tag == null" then all calculate data is highlighting (all rows), and if i have "tag != null" nothing calculate data is highlighting.

Thanks!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Problem:"tag" variable is null in a crosstab appearance condition (for highlighting row)

Post by HighAley »

Hello.

Please, try to set the Tag property of the Cross-Summary. See the Demo report -- 'Cross-Tab with Condition 2'.

Thank you.
rbermudez
Posts: 5
Joined: Tue Jan 03, 2012 5:33 am
Location: A Coruña

Problem:"tag" variable is null in a crosstab appearance condition (for highlighting row)

Post by rbermudez »

I already have set in the condition appearence of the cross-sumary ( demo expression is tag == "Canada")

My cross-sumary condition appearence equals
tag == "Promedio"

But seems as if there was no tag variable. tag not exists. Is it necessary to initialize the tag var to any Tagvalue elemnent? How do I get this? thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Problem:"tag" variable is null in a crosstab appearance condition (for highlighting row)

Post by HighAley »

Hello.
rbermudez wrote:I already have set in the condition appearence of the cross-sumary ( demo expression is tag == "Canada")

My cross-sumary condition appearence equals
tag == "Promedio"

But seems as if there was no tag variable. tag not exists. Is it necessary to initialize the tag var to any Tagvalue elemnent? How do I get this?
You should set the Tag property. Please, look at the attached image.
Attachments
1539.TagProperty.png
1539.TagProperty.png (83.47 KiB) Viewed 2246 times
rbermudez
Posts: 5
Joined: Tue Jan 03, 2012 5:33 am
Location: A Coruña

Problem:"tag" variable is null in a crosstab appearance condition (for highlighting row)

Post by rbermudez »

Great! I needed change to the standar or profesional properties view to can change the interaction options.

Works fine to me! Now I can see the row highlighting

Very thanks!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Problem:"tag" variable is null in a crosstab appearance condition (for highlighting row)

Post by HighAley »

Hello.
rbermudez wrote:Great! I needed change to the standar or profesional properties view to can change the interaction options.

Works fine to me! Now I can see the row highlighting

Very thanks!
We are always glad to help you.

Thank you.
Post Reply