cross tab with highlighting condition

Stimulsoft Reports.NET discussion
jayanthi
Posts: 61
Joined: Wed Aug 26, 2009 4:32 am

cross tab with highlighting condition

Post by jayanthi »

Hello Andrew,

I have received sample Cross Tab Rar file through mail.
Am able to find the output by adding a new report in that sample file.
But not able to do with my copy.

Actually i have added 2 variables as Month,Year in report, then IsSunday method in report code.
Then pass the variable values thru source code.
Any other thing to do because am not able to get the output.

Thank you
Jay
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

cross tab with highlighting condition

Post by Andrew »

Hello,

Please, let us know what are you not able to do? Aren't you unable to add a condition to the field from what the IsSunday method is called?

Thank you
jayanthi
Posts: 61
Joined: Wed Aug 26, 2009 4:32 am

cross tab with highlighting condition

Post by jayanthi »

Am able to add the condition IsSunday for Cross Tab Column Days.
Also i added the method in report code.
Pass the Month,Year variable values thru source code.
Sundays are not highlighted in my report copy, but am able to see it in the copy which i got thru mail.
Even am able to create new cross tab in the copy received thru mail and get the highlighted cross tab output.
Using my sample project not able to get the highlighted sundays, all the days are black color.

Thanx
Jay
jayanthi
Posts: 61
Joined: Wed Aug 26, 2009 4:32 am

cross tab with highlighting condition

Post by jayanthi »

Hello Mr.Andrew,

I have a created a fresh sample project and now its working.

Thank you so much for your help.

Jay
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

cross tab with highlighting condition

Post by Andrew »

Great! :biggrin:
Ghazi
Posts: 10
Joined: Tue Sep 13, 2011 8:05 am

cross tab with highlighting condition

Post by Ghazi »

thank u andrew ...
but how can i make different style for the column called " Seafood " for example .
Not just the Name header , all data below it too

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

cross tab with highlighting condition

Post by HighAley »

Hello.
ghazi wrote:but how can i make different style for the column called " Seafood " for example .
Not just the Name header , all data below it too
Do you want to change style in cross-tab?
Please provide more details regarding your issue. Maybe you can send us a sample report with data.

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

cross tab with highlighting condition

Post by HighAley »

Hello.

Maybe this report template helps you.
Set tag property for cell of cross-tab and set the condition on tag.

Thank you.
Attachments
1314.CrossTabWithHighlightCondition2.mrt
(31.98 KiB) Downloaded 300 times
Ghazi
Posts: 10
Joined: Tue Sep 13, 2011 8:05 am

cross tab with highlighting condition

Post by Ghazi »

Thank you Aleksey for reply ..
I mean In Cross-tab .
My cross-tab like this demo "Cross-Tab with Highlight Condition 2"

we use (tag=="Canada") for example, to change the style of row cells of "Canada" Country
but if we put ( tag=="Seafood") in expression , the cells below the column called " Seafood " Category doen not change there style.

Thank you :)
Ghazi
Posts: 10
Joined: Tue Sep 13, 2011 8:05 am

cross tab with highlighting condition

Post by Ghazi »

Thank you Aleksey for help
its work :biggrin:
Post Reply