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

[EuiDataGrid] Grouped rows and summary rows #4636

Closed
flash1293 opened this issue Mar 11, 2021 · 7 comments
Closed

[EuiDataGrid] Grouped rows and summary rows #4636

flash1293 opened this issue Mar 11, 2021 · 7 comments

Comments

@flash1293
Copy link
Contributor

For some types of data it makes sense to collapse/expand some rows, not repeating the same value for this group and adding sub-summary rows for these groups

Screenshot 2021-03-11 at 15 46 55

Kibana reference issue: elastic/kibana#61470

Open questions (this list is incomplete):

  • Should this be possible in a nested way as shown in the screenshot or just feature a single level for collapsing/expanding?
  • How is the functionality exposed? As rowspan/colspan and special styling plus everything else handled by the consumer or a more high level API?
@snide
Copy link
Contributor

snide commented Mar 11, 2021

Grouping I think need to be handled very similar to Airtable with defined separation and exposed controls to provide the grouping. This aligns with our current toolbar driven approach.

image

image

@chandlerprall
Copy link
Contributor

chandlerprall commented Mar 11, 2021

How is the functionality exposed? As rowspan/colspan and special styling plus everything else handled by the consumer or a more high level API?

Using row/col spans was my initial thought; would make sense to somewhere build a higher level component to manage the UI additions (from Dave's comment above) and the grouping / spanning logic.

I believe we'd also need to disable all in-memory functionality if there is any row/col span.

@github-actions
Copy link

github-actions bot commented Sep 8, 2021

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

@github-actions
Copy link

❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error.

@ghudgins
Copy link

re-opening as this issue is still blocking elastic/kibana#61470

@github-actions
Copy link

👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

@github-actions
Copy link

❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error.

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

No branches or pull requests

4 participants