This is a migrated thread and some comments may be shown as answers.

Setting a column width does not affect the report

1 Answer 369 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 28 Jul 2016, 07:19 PM

I have a Telerik Reporting Table in a report.  I am trying to dynamically set the width of first column but it never changes in the report.  Is there some sort of update or refresh method that I need to use?

 

report.calcTable.Body.Columns[0].Width = new Unit(100);

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 29 Jul 2016, 10:00 AM
Hello Greg,

Please test using bindings to the corresponding TextBox items' Width properties. Expanding the widths of the nested items will cause the item to grow e.g.:
--Binding --
Property path: Width
Expression: ='2in'


We will appreciate it if you elaborate on the reason to change dynamically the width of the column of the Table item.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Greg
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or