Skip to content

Add support for HTML5Table to accept Row as component  #65

@duyphaphach

Description

@duyphaphach

Firstly, thanks for your great library! Really performant and smooth!
It just lacks a bit of flexibility.

I wanted to render a table with HTML tags so I pick the HTML5Table component.
Then I realized that the rows are not resized dynamically, which made me export the Row to separate component to measure it.

But passing Row renderer to HTML5Table like below won't work. Really appreciate if you can soon add support for this.

<Html5Table
          headerClassName="header"
          className="ui profile"
          data={profiles}
          columns={columns}
          Header={HeaderRenderer}
          Row={RowRenderer}
          rowHeight={getRowHeight}
 />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions