Hi all,
How can I set the size of a rectangle dynamically in SSRS Reports?
Thanks,
Dhanya
*This post is locked for comments
Hi all,
How can I set the size of a rectangle dynamically in SSRS Reports?
Thanks,
Dhanya
*This post is locked for comments
Thanks Lee,issue solved
One trick that you can play around with (to see if you can get what you want) is to add additional header row(s). You can do things like following:
- Merge all the cells and use it as title
- Merge all the cells and set all of them to have no borders. Then it'll just look like normal spacing.
- Merge all cells, then put in a rectangle control. After that you can add multiple textbox controls into that space and line them up anyway you like
Sorry for the late reply Lee, As you mention the screenshot of my requirement is attached. Please help me
Thanks ,
Dhanya
So far what I mentioned is that a rectangle control would *passively* react to auto-grow of its containing controls (textbox or table).
However, it seems like that's not what you need and I am not sure the requirement.
Maybe you can show some screeshots on what you like to achieve?
Thanks Lee, What I mean in "table size" means the visibility of the columns in the table depends on the parameters .so want to increase the rectangle size(contains the report title text box) according to the table columns.
Hi Dhanya,
For a textbox in SSRS, there is the "CanGrow" option. When it's set to true, the textbox will expand vertically if necessary.
If the textbox above is put into a rectangle (where the textbox's Parent property is set to the rectangle's name), then the rectangle should grow with the textbox.
I am not sure what do you mean by "table size" increase, but a table should works the same with respect to how a rectangle (which contains the table) would react when the table grows.
Sorry Jaleel,but it's not working for mine issue
Text properties > General > Check Allow Height to increase.
if you need more information you can contact me on skype : erp.jaleel
Hi,
Thanks Jaleel, I am newer to SSRS, don't know which is option for that?
Please Reply
Hi,
Yes it can grow, select the option in the text box properties
André Arnaud de Cal... 291,431 Super User 2024 Season 2
Martin Dráb 230,503 Most Valuable Professional
nmaenpaa 101,156