reactabular / easy

Easy, opinionated wrapper for Reactabular (MIT)
https://www.npmjs.com/package/reactabular-easy
MIT License
3 stars 3 forks source link

Need merged columns in a row #8

Open solka03 opened 6 years ago

solka03 commented 6 years ago

Hi,

We are passing rows and columns to table. Is it possible to create a table where I need a row with the single large column? Like this, you can see last row cover single column with long text.

image

bebraw commented 6 years ago

I have an example of that here. Tweak CustomFooter to fit your needs.

solka03 commented 6 years ago

Thanks for the reply. In your example footer is under reactabular-table library, is it possible same thing using reactabular-easy ? Because reactabular-table passing rows and columns and it won't have Body or Footer. Like this ..

<easy.Table rows={rows} headerRows={headerRows} columns={columnChildren} .............. </easy.Table>

bebraw commented 6 years ago

Not at the moment. I had a look at the implementation and it would need a small extension point to allow what you are suggesting. I could accept a PR.