-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
grid width not filling out ngCanvas #401
Comments
I've been finding the same problem. Driving me mad |
@AlexRoscoe @bradrice Can you try with the latest version? It's pointing at the 2.0.7 branch. |
This should be fixed in the latest version. |
@jonricaurte This is still happening in 2.0.7. The above plunker doesn't show any data. As far as I can see, the grid is setting a fixed 100px to the width property of the .ngCanvas element. It initially only renders the columns that fit in that width. If you scroll horizontally, it dynamically adds other columns, but the narrow viewport remains. Clicking on a column header displays the grid as configured. For some reason, this doesn't happen on all grids in this application even though they are configured in a similar way. |
I have the exact same issue. Has this been resolved? |
Same issue as the OP, although it only manifests when the parent controller has the $modal service injected. |
@jlNery which version are you using? How is the grid being displayed, directly on the page? In a modal? What browser? |
@c0bra |
@c0bra sorry: version 2.0.7 |
What OS? There are some funny issues with OSX in 3.0, perhaps that's related here as well? I think we'll have to take a collection to buy @c0bra a MacBook. :-) |
Windows ! :( |
Still seeing this in v3.0.7 on Windows for Chrome, FF, and IE. Basically the same screenshot as jlnery. Maybe a scroll-bar width calculation issue? |
I am also facing same problem only on Chrome. |
I have this set in my css:
.gridStyle {
border: 1px solid rgb(212,212,212);
height: 600px;
/max-height: 800px;/
width: 750px;
margin: 1em;
}
For some reason I have an empty space at the right of the grid before the scroll bar. It seem like regardless I do it will not fill out. If I inspect the element I get this being specified:
.ng1368027839598 .ngRow {
width: 700px;
}
Why does it subtract 50 pixels from what I have specified? Can I over-ride it so the columns go the entire way across?
The text was updated successfully, but these errors were encountered: