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

[OuiDataTable] Add auto rowHeight support to the datatable layout props #1172

Open
ashwin-pc opened this issue Dec 9, 2023 · 2 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ashwin-pc
Copy link
Member

Is your feature request related to a problem? Please describe.

The Data table component today supports an integer number of lines per row which defaults to 1 if nothing is specified.

Describe the solution you'd like

The ability to specify something like the example below to allow the rows to dynamically resize and not truncate any data.

defaultHeight: {
    lineCount: 'auto'
},

Describe alternatives you've considered

if nothing is specified, default to no truncation

Additional context

Add any other context or screenshots about the feature request here.

@aramvcf
Copy link

aramvcf commented Dec 21, 2023

Hey @ashwin-pc, do you guys have an approximate fixing date? Hope this will fix the issue with log row truncate, as we're working with long data and it is very convenient to compare several logs at once

@ashwin-pc
Copy link
Member Author

There is currently no ETA for this, but an alternate solution should be coming in the 2.12 release of OSD where you can specify the number of lines you want to see. See opensearch-project/OpenSearch-Dashboards#4859 for more details.

That being said if the is a feature someone wishes to contribute it can come in sooner :)

@ashwin-pc ashwin-pc added the good first issue Good for newcomers label Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants