-
-
Notifications
You must be signed in to change notification settings - Fork 321
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
Add column title (padding, icon-size, and checkBox size to auto-fit calculation #715
base: master
Are you sure you want to change the base?
Conversation
…o autoFitColumn calculation
@bosskmk Can you please take a look at this? |
@Milad-Akarie |
I checked the code. |
@bosskmk I don't think this PR is merged? |
@bosskmk any updates here? |
Hey @bosskmk grouped rows are now considered in the calculation |
add more space for calculated title width
Hey @bosskmk is there a problem with this PR? |
Hello @bosskmk
as the title suggests the current column auto-fit function does not consider column title, padding, icon-size ..etc and this PR should fix that
This's the before behaviour
And this's the after behaviour
NOTE
The columnAutoFit test fails now and honestly I have no idea how to test the new implementation as the old test was comparing the auto-fitted width to a fixed width ( min column width ).