react-data-table-component
react-data-table-component copied to clipboard
Group columns
Feature Check list
- [x] Agree to the Code of Conduct
- [x] Read the README to ensure the feature is not already present
- [x] You read Creating Issues, Features and Pull Requests
- [x] Considered the value versus complexity for all users of the library as well as library maintenance
- [x] Considered if this can be a storybook or documentation example
Is your feature request related to a problem? Please describe
Hi @jbetancur, I have elements that are part of a group for example, I have an element called Payload, which contains many elements.
Describe the solution you'd like
As a proposal, the one in the figure would be adopted as a solution.
Additional context
There is already an issue open for this. https://github.com/jbetancur/react-data-table-component/issues/367
to be honest not sure when this will happen as I need to prioritize things like expand all, fixing foxed header and grouping.
Hi @jbetancur , take a look at this trivial example that I did quickly: Link: https://codesandbox.io/s/winter-hill-m3teh
Let's put the table, have a colspans
attribute, so declared.
const colspans = [
{
name: "",
colspan: 1
},
{
name: "Contact",
colspan: 2
}
];
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Sorry, not yet. I have been a bit busy. At a glance this is a lot of work, but I will keep in on the roadmap!
@jbetancur Is this issue been taken care of?
@jbetancur Any news about this feature?
@jbetancur hi, any update about this feature ? thank you
@jbetancur : Is there any news?
No news yet. I'm focused on finishing version 7 and then 8 which will have some breaking changes. A lot of design changes need to happen before this feature can be implemented.
Any progress with this feature or some implemented this while using this package?
+1 very needed feature!
I love to have this feature too!