Home > @native-html/table-plugin > TableConfig > displayMode
Determine how the width of the table is constrained (or not).
- normal: the table will have no peculiar constrain on
width
ormaxWidth
. - embedded: the table acts like a width-constrained embedded (React Native Render HTML RFC001), with
maxWidth
determined bycontentWidth
andcomputeEmbeddedMaxWidth
. - expand: like embedded, but with
width
set tomaxWidth
. This can be useful to have a center-aligned table on wide screens.
Signature:
displayMode?: 'normal' | 'embedded' | 'expand';