react-data-export
react-data-export copied to clipboard
Title/header for tables in case of multiple data sets
Hi,
(This is my first time raising an issue on github. So forgive for my newbieness) (I dont know if this should be an issue or a feature request.)
In case of multiple data sets, is there any way that we could have titles/headers for the individual tables? As an example:
Thanks in advance :).
@tajveer-nijjar with current version it's possible because you have the possibility to style each cell by yourself, just take them as a normal cell and style them as header cells, should be an easy going.
Hello @securedeveloper , can you show with example how can we implement this?
Thanks
Hi,
(This is my first time raising an issue on github. So forgive for my newbieness) (I dont know if this should be an issue or a feature request.)
In case of multiple data sets, is there any way that we could have titles/headers for the individual tables? As an example:
Thanks in advance :).
Hi,
(This is my first time raising an issue on github. So forgive for my newbieness) (I dont know if this should be an issue or a feature request.)
In case of multiple data sets, is there any way that we could have titles/headers for the individual tables? As an example:
Thanks in advance :).
Hello, I also encountered a question to add a table title. Have you solved it?
Hi, still don't have the answer to this question? Add columns is easy with tag ExcelColumn but the rows not so much
Use a dataset and create a column with the row title and then leave the data as an empty array
const multiDataSet=[
{
columns: [
{title: 'Your title'},
],
data: [],
},
{
columns: [
{title: 'Table title1'},
{title: 'Table title2'},
],
data: [
{value: 'Value 1'},
{value: 'Value 2'},
],
},
]