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

Can rowHeightGetter get column width while some column use flexGrow #334

Open
jany3534 opened this issue Jul 12, 2018 · 2 comments
Open

Comments

@jany3534
Copy link

Expected Behavior

While some column use flexGrow, we can get the actual width of those columns in rowHeightGetter.
So that we can figure out the appropriate row height.

Current Behavior

We don't know the actual width of flexGrow rows.

Possible Solution

Provide all columns' width in parameters of rowHeightGetter.

Steps to Reproduce (for bugs)

Your Environment

  • Version used: 0.8.6
  • Browser Name and version: Google Chrome 66.0.3359.181
  • Operating System and version (desktop or mobile): window 10 desktop
@jany3534
Copy link
Author

I can get the rendered table columns‘ width, but it need render twice.

@wcjordan
Copy link
Member

I'd be happy to accept a PR for this assuming we can implement it without breaking existing rowHeightGetters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants