Skip to content

table-layout: fixed

Configuration

props.fixedMode enables table-layout: fixed

Example

To achieve a scenario where one column has a fixed width and the remaining columns are evenly divided, we need to leverage the native table-layout: fixed behavior of equal column width distribution.

WARNING

This mode only affects StkTableColumn['width']

loading

Multi-level Header ^1.0.3

In multi-level header scenarios, the width declared on child columns also takes effect. The parent column's width equals the sum of all its child column widths.

loading

Released under the MIT License