Column Scrolling in a Table

Use

The following modes for column scrolling are available:

  • Fixed specification of the number of visible columns

    This mode is activated by specifying a fixed number of scrollable columns in property scrollableColumnCount. The maximum number of columns that can be displayed is always this specified number, and a paginator is provided in the footer for scrolling.

  • Columns fitting in the Table

    The following prerequisites must be met for this mode to function reliably:

    • scrollableColumnCount = -2 activates the mode

    • fixedTableLayout=true should also be activated so that columns are only as wide as specified.

    • The width of all columns and of the Table must be specified, and the widths must be set in the same unit (exception: the Table width can be in a different unit if the column widths are specified as a percentage)

    As many columns as fit in the Table will be displayed. If one of the columns is too wide, has a wrong unit, or has no width specification at all, it will be displayed individually in the full width of the Table. Note that if there is an existing selection column, the specified Table width is increased by this column.

  • If WDUIGUIDELINE=GL20 and columnResizeBehavior=preserveOtherColumns are set, you get a continuous column scrolling on the client side.