Rendering Rows from Separate Component Supported (kind of)
While we don't recommend doing this, you can create a separate component that manages the rendering of each row. It should work fine if all you're doing is implementing a .render()
method.
Subclassing <Cell>
shouldn't cause any problems, but rendering <Row>
elements from another component could behave unexpectedly because <StickyTable>
is breaking the <Row>
s up into groups of <Cell>
s (there are four: corner
, header
, column
, and body
) and putting them back into new <Row>
components. Each of these groups gets its own <div>
with display: table
and then they're all synced up.