8000 TableRow not working properly · Issue #1 · dmk99/react-pdf-table · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.
This repository was archived by the owner on Mar 21, 2025. It is now read-only.
TableRow not working properly #1
Closed
@pavlos2094

Description

@pavlos2094

Hi, thanks for your repo. I am trying to create a table with multiple rows but the TableRow Component doesn't seem to work properly. Below code:

`

<TableRow>
    <DataTableCell weighting={0.3} getContent={() => 'First'}/>
    <DataTableCell weighting={0.3} getContent={() => 'First'}/>
    <DataTableCell getContent={() => 'First'}/>
    <DataTableCell getContent={() => 'First'}/>
    <DataTableCell getContent={() => 'First'}/>
</TableRow>
<TableRow>
    <DataTableCell weighting={0.3} getContent={() => 'First'}/>
    <DataTableCell weighting={0.3} getContent={() => 'First'}/>
    <DataTableCell getContent={() => 'First'}/>
    <DataTableCell getContent={() => 'First'}/>
    <DataTableCell getContent={() => 'First'}/>
</TableRow>

`

renders this result:

image

that is, both rows one on top of the other instead of below. Any help? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0