You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EuiDataGrid] Control isExpandable at the cell level #2793
I am building a calendar using the DataGrid and I have run into the need to allow a small popover form, but only if the calendar day has stuff in it. For example, imagine that a manager wants to override a holiday to mark an engineer as working, it obviously is an unnecessary step if there is no holiday on that day.
I'd like an enhancement where, before it attempts to render the cell with isDetails set to true, (or the popover version), it would instead check if it even should. The easiest approach seems to be making isExpandable a callback | boolean | undefined, which probably helps it to avoid invoking a function call for all cells anyway. For the best impact, this function would need be passed the rowIndex and columnId just like the render cell function.
I'd like an enhancement where, before it attempts to render the cell with isDetails set to true, (or the popover version), it would instead check if it even should.
👋 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.
👋 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.
@pickypg 👋 Heyyy!! I've recently joined the EUI team and am helping out with EuiDataGrid - I hadn't seen this issue until it closed just now. Just curious, is it still useful to the calendar you're building? No promises, but I'd be interested in picking this up at some point if so :)
Hey @constancecchen, it would! However, we currently use the EuiTable in place of the datagrid. We would be open to checking it out again, but I think this feature would be useful regardless.
Cool cool, great to know! As a heads up I'm currently prioritizing issues/features that teams need or are requesting in order to roll out features (currently some from Discover and Security), so it might be a while for this - but if you decide to switch over to EuiDataGrid or that this would be a blocker for doing so, definitely let me know and feel free to re-open this issue whenever!
Reacted by Chris Earle
Reacted by Chris Earle
robert-seymour-numerated commented on Oct 28, 2021
@constancecchen Hello! This feature just came up in our teams standup today. Would be really useful to to control isExpandable on a cell level. Consider a simple id table: id=1 should not be expandable. but id=12312312313 would be nice.
Nice! I'll re-open as this is a recent re-request, but to level-set expectations, we've got a whole lot on the datagrid backlog so it might be a while yet before this gets looked at!
Activity
pickypg commentedon Jan 25, 2020
/cc @chandlerprall
pickypg commentedon Jan 25, 2020
Before it even shows the expand button that is.
[-]EuiDataGrid control isExpandable at the cell level[/-][+][EuiDataGrid] Control isExpandable at the cell level[/+]github-actions commentedon Mar 20, 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.
pickypg commentedon Mar 20, 2021
This still seems useful.
github-actions commentedon Sep 26, 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 commentedon Oct 3, 2021
❌ We're automatically closing this issue due to lack of activity. Please comment if you feel this was done in error.
cee-chen commentedon Oct 4, 2021
@pickypg 👋 Heyyy!! I've recently joined the EUI team and am helping out with EuiDataGrid - I hadn't seen this issue until it closed just now. Just curious, is it still useful to the calendar you're building? No promises, but I'd be interested in picking this up at some point if so :)
pickypg commentedon Oct 4, 2021
Hey @constancecchen, it would! However, we currently use the
EuiTablein place of the datagrid. We would be open to checking it out again, but I think this feature would be useful regardless.cee-chen commentedon Oct 4, 2021
Cool cool, great to know! As a heads up I'm currently prioritizing issues/features that teams need or are requesting in order to roll out features (currently some from Discover and Security), so it might be a while for this - but if you decide to switch over to EuiDataGrid or that this would be a blocker for doing so, definitely let me know and feel free to re-open this issue whenever!
robert-seymour-numerated commentedon Oct 28, 2021
@constancecchen Hello! This feature just came up in our teams standup today. Would be really useful to to control
isExpandableon a cell level. Consider a simpleidtable:id=1should not be expandable. butid=12312312313would be nice.cee-chen commentedon Oct 28, 2021
Nice! I'll re-open as this is a recent re-request, but to level-set expectations, we've got a whole lot on the datagrid backlog so it might be a while yet before this gets looked at!