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] Allow custom class name for EuiDataGridHeaderCell #5106
With a higher header cell, the sorting icon will still be vertically aligned which we'd like to change in this case. Right now we have to override EUI classes which we'd like to avoid.
👋 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.
Once #6609 lands, you'll be able to accomplish this with the displayHeaderCellProps property in columns:
// Example css.yourClass{vertical-align: top;// or whatever}// Example columnconstcolumns=[{id: 'someColumn',display: <>Column <EuiIcontype="dot"/></>,displayHeaderCellProps: {className: 'yourClass'},// etc.},];// Example data grid<EuiDataGridcolumns={columns}// etc./>
Activity
github-actions commentedon Feb 23, 2022
👋 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.
JasonStoltz commentedon Feb 6, 2023
@cee-chen Can you link your current work here?
cee-chen commentedon Feb 16, 2023
Once #6609 lands, you'll be able to accomplish this with the
displayHeaderCellPropsproperty incolumns: