Can I adjust the width of report column headers to not be so wide, if data in the column is not wide

(2 posts) (2 voices)
  1. shem, Member

    The display of the report is fine even though there are many columns.
    That is because I can used the horizontal scroll bar to scroll to the right.
    However,
    the PDF export does not show all columns.
    Even after changing the orientation to landscape, it still does not show them all.
    I thought of a solution but I need some information.
    In many of the columns the column titles are very long e.g. "Days Since Current due date"
    However the data in the column is not long, e.g. the number 243
    Is there a way to force the column width to match the data instead of the column header name?
    And if the answer is yes can I cause the column header name to wrap - such as you might see on an excel spread sheet? i.e. where the row height becomes the height of 2 or 3 rows?

  2. myDBR Team, Key Master

    You can set the maximum width for the column:

    select 'dbr.colstyle', 'colref', '[width: 100px;max-width: 100px]'; 

    --
    myDBR Team


Reply

You must log in to post.