Setting a column width does not affect the report

2 posts, 0 answers
  1. Greg
    Greg avatar
    3 posts
    Member since:
    May 2016

    Posted 28 Jul Link to this post

    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);

  2. Stef
    Admin
    Stef avatar
    3041 posts

    Posted 29 Jul Link to this post

    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
  3. DevCraft banner
Back to Top