Use the designer hide the column the table not shrink

Stimulsoft Reports.WEB discussion
Post Reply
cheny
Posts: 1
Joined: Thu Apr 21, 2016 1:57 am

Use the designer hide the column the table not shrink

Post by cheny »

In our project we need to let end user use the designer to set the table columns.
When hide some columns, we can not find how to auto shrink the table.

Please help, thank!
Attachments
table columns not auto shrink
table columns not auto shrink
table.PNG (194.28 KiB) Viewed 1320 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Use the designer hide the column the table not shrink

Post by Alex K. »

Hello,

Please try to use the DockStyle property for the Text components.

Thank you.
Attachments
SelectingColumnsWithVariable.mrt
(40.38 KiB) Downloaded 207 times
SelectingColumnsWithVariable_NotCode.mrt
(17.91 KiB) Downloaded 156 times
Shwetha
Posts: 2
Joined: Tue Jun 06, 2023 11:26 am

Re: Use the designer hide the column the table not shrink

Post by Shwetha »

To hide the column space. Set "Auto Width" and "Auto Width Type" property on TableDataSource.
Screenshot 2023-06-06 172109.png
Screenshot 2023-06-06 172109.png (405.43 KiB) Viewed 581 times
Lech Kulikowski
Posts: 6247
Joined: Tue Mar 20, 2018 5:34 am

Re: Use the designer hide the column the table not shrink

Post by Lech Kulikowski »

Hello,

Thank you for the information.
Post Reply