Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Row expansion indication #648

Open
mikkurogue opened this issue Oct 1, 2024 · 0 comments
Open

[Enhancement] Row expansion indication #648

mikkurogue opened this issue Oct 1, 2024 · 0 comments

Comments

@mikkurogue
Copy link

Is your feature request related to a problem? Please describe.
When using the rowExpansion props, it is not always clear that a row can be expanded (or is clickable for expansion etc).

Describe the solution you'd like
A new prop added to the rowExpansion methods to allow for an indicator (i.e. chevron right for closed and chevron down for expanded/open). Icons should be provided by the user, as not everyone uses the same icon libraries so this would be deemed as required props when rowExpansion.indicators = true for instance.

Describe alternatives you've considered
A pseudo column that calculates which row(s) are expanded already. See this gist: https://gist.github.com/mikkurogue/b5add794faa2933e2a644959ca77524b

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant