how to change cell table properties according to value

Stimulsoft Reports.NET discussion
Post Reply
ArtaAria
Posts: 8
Joined: Wed Jun 19, 2013 8:09 am

how to change cell table properties according to value

Post by ArtaAria »

hi
i want change cell properties such as enabled and cell dock style according to other cell.
for example if we have 5 cell like below:
cell 1- ID
cell 2- Name
cell 3- value 1
cell 4- value 2
cell 5- value 3

when cell 3 (value 1) is null then cell 4 and cell 5 enabled=false and cell 3 cell dock style=Fill.
I have written code in Rendering event of table but not work while the cod work in Data band.

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

Re: how to change cell table properties according to value

Post by HighAley »

Hello.

Please, send us your report template with sample data for analysis.

Thank you.
ArtaAria
Posts: 8
Joined: Wed Jun 19, 2013 8:09 am

Re: how to change cell table properties according to value

Post by ArtaAria »

Thanks a lot.
Attachments
ChangePropertiesInRenderingEvent.zip
(9.38 KiB) Downloaded 233 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: how to change cell table properties according to value

Post by HighAley »

Hello.

You should use Data Band with Text Components instead of the Table component.

Thank you.
ArtaAria
Posts: 8
Joined: Wed Jun 19, 2013 8:09 am

Re: how to change cell table properties according to value

Post by ArtaAria »

Thank you.
yes, i use Data band and solved but the table is very easy.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: how to change cell table properties according to value

Post by Alex K. »

Hello,

Let us know if you need any additional help.
Post Reply