-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Opening expandable grid causes parent grid to collapse when setting width to parent grid columns #2777
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
Comments
When I used your plunker as-is, it didn't do anything for me, and returned errors in attempting to return the rowTemplate. When I put the rowTemplate inline to avoid this issue, the breakage doesn't occur: http://plnkr.co/edit/DHXXQiQ5tJBNye1l7zQQ?p=preview Is there a reason you need to retrieve your rowTemplate dynamically? |
Thank you for checking. I also modified the plunker. I checked on Chrome in Mac again and found that the problem doesn't occur in a small screen. Could you use a separate window for preview and check again? |
OK, now I see it. It isn't breaking the formatting so much, rather what's happened is that the grid is wide enough to fit multiple rows onto a single row (the expanded section is much wider than the core grid). If you define the core columns as being wider it doesn't happen (e.g. if you change the widths to 300 each). However, if you don't know how wide the screen is then this won't work. Setting the widths in % might work (if they always add to 100% or thereabouts), but if you let users resize their own columns this could still be a problem. I presume that means something is messing up the css, as it only does it below the sub-grid, but I can't see what. @jpuri - any ideas? |
This appears resolved on the plunker - could you confirm? |
I checked with v3.0.0-rc.20-6520046, but expandable seems not to be working with this version. I also checked the tutorial page, and the result was the same. |
Hmm. That seems to have broken overnight. It looks to be fonts, not code - when I check out the code and build and run it, it's fine locally. It will no doubt come right next time someone pushes something. |
OK, the fonts have been fixed on this for some time, and the plunker no longer exhibits the poor behaviour. Closing, can you re-raise if this issue recurs? |
I was just checking this issue. Is it better to open new issue? |
@jpuri - have you seen this? |
Hi @PaulL1 , I checked the issue in the plunkr, it apparently has something to do with the way we handle horizontal scrolling. |
Opening expandable grid causes parent grid to collapse when setting width to parent grid columns.
I checked this with Chrome, Firefox and IE on Windows.
This is my plunker.
http://plnkr.co/edit/8phKFI0hzfmN7lWK9zMe?p=preview
The text was updated successfully, but these errors were encountered: