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] Various row height fixes #8025

Merged
merged 11 commits into from
Sep 19, 2024
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,16 @@ export const CustomRowHeights: Story = {
parameters: { controls: { include: ['rowHeights'] } },
args: {
rowHeights: {
2: 'auto',
3: 48,
4: {
1: 'auto',
2: 48,
3: {
height: 56,
},
5: {
4: {
lineCount: 2,
mgadewoll marked this conversation as resolved.
Show resolved Hide resolved
},
},
onChange: undefined,
},
render: (rowHeightsOptions) => (
<StatefulDataGrid {...storyArgs} rowHeightsOptions={rowHeightsOptions} />
Expand All @@ -112,6 +113,7 @@ export const CustomLineHeight: Story = {
parameters: { controls: { include: ['lineHeight'] } },
args: {
lineHeight: '40px',
onChange: undefined,
},
render: (rowHeightsOptions) => (
<StatefulDataGrid {...storyArgs} rowHeightsOptions={rowHeightsOptions} />
Expand Down