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

Datagrid: Autosizing not working correctly with tree grid #8646

Open
kwolentarski opened this issue Apr 24, 2024 · 1 comment
Open

Datagrid: Autosizing not working correctly with tree grid #8646

kwolentarski opened this issue Apr 24, 2024 · 1 comment
Assignees
Labels
team: WFM For WFM Issues type: bug 🐛 [3] Velocity rating (Fibonacci)

Comments

@kwolentarski
Copy link

Describe the bug
When using column auto-sizing in tree grid there are two issues occurring:

  1. Children content is not taken into consideration when column width is calculated
  2. Audible description of expand/collapse button is used as part of text when calculating the width, making the column wider than it needs to be.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'https://stackblitz.com/edit/ids-enterprise-4940-qethhi?file=index.js'
  2. Notice in first datagrid that the second row's (first child of first row) content is clipped.
  3. Notice in second datagrid that the first column is a lot wider than it needs to be.

Expected behavior

  1. Children of tree grid should be taken into consideration when calculating column width.
  2. Hidden text of expand/collapse button should not be taken into account when calculating column width.

Version

  • ids-enterprise: v4.94

Platform

  • Infor Application/Team Name: Infor WFM
@tmcconechy
Copy link
Member

@kwolentarski valid bug I guess but the auto column sizing is not very performant so maybe consider static widths? Additional checks might make it a bit slower

@tmcconechy tmcconechy added type: bug 🐛 [3] Velocity rating (Fibonacci) team: WFM For WFM Issues labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team: WFM For WFM Issues type: bug 🐛 [3] Velocity rating (Fibonacci)
Development

No branches or pull requests

3 participants