Dynamic column cell width

后端 未结 3 1581
走了就别回头了
走了就别回头了 2020-12-04 02:21

I have some Jasper reports which are displayed in HTML format. I would like the width of the columns in the HTML tables to automatically resize to fit the content of the wid

3条回答
  •  执笔经年
    2020-12-04 02:52

    The developers made a conscious decision to not allow cell width to stretch. For columns to change their width based on the content, it must be done through programming. A helpful tool: DynamicJasper.

    DynamicJasper creates reports dynamically, defining at runtime the columns, column width (auto width), groups, variables, fonts, charts, crosstabs, sub reports (that can also be dynamic), page size and everything else that you can define at design time.

提交回复
热议问题